DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2006-2007 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/intrusive for documentation. // ///////////////////////////////////////////////////////////////////////////// #ifndef BOOST_INTRUSIVE_DETAIL_MPL_HPP #define BOOST_INTRUSIVE_DETAIL_MPL_HPP namespace boost { namespace intrusive { namespace detail { typedef char one; struct two {one _[2];}; template< bool C_ > struct bool_ { static const bool value = C_; }; typedef bool_
true_; typedef bool_
false_; typedef true_ true_type; typedef false_ false_type; typedef char yes_type; struct no_type { char padding[8]; }; template
struct enable_if_c { typedef T type; }; template
struct enable_if_c
{}; template
struct enable_if : public enable_if_c
{}; template
class is_convertible { typedef char true_t; class false_t { char dummy[2]; }; static true_t dispatch(U); static false_t dispatch(...); static T trigger(); public: static const bool value = sizeof(dispatch(trigger())) == sizeof(true_t); }; template< bool C , typename T1 , typename T2 > struct if_c { typedef T1 type; }; template< typename T1 , typename T2 > struct if_c
{ typedef T2 type; }; template< typename C , typename T1 , typename T2 > struct if_ { typedef typename if_c<0 != C::value, T1, T2>::type type; }; template< bool C , typename F1 , typename F2 > struct eval_if_c : if_c
::type {}; template< typename C , typename T1 , typename T2 > struct eval_if : if_
::type {}; // identity is an extension: it is not part of the standard. template
struct identity { typedef T type; }; #if defined(BOOST_MSVC) || defined(__BORLANDC_) #define BOOST_INTRUSIVE_TT_DECL __cdecl #else #define BOOST_INTRUSIVE_TT_DECL #endif #if defined(_MSC_EXTENSIONS) && !defined(__BORLAND__) #define BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS #endif no_type BOOST_INTRUSIVE_TT_DECL is_function_ptr_tester(...); template
yes_type is_function_ptr_tester(R (*)()); template
yes_type is_function_ptr_tester(R (*)( ...)); #ifdef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS template
yes_type is_function_ptr_tester(R (__stdcall*)()); template
yes_type is_function_ptr_tester(R (__stdcall*)( ...)); template
yes_type is_function_ptr_tester(R (__fastcall*)()); template
yes_type is_function_ptr_tester(R (__fastcall*)( ...)); template
yes_type is_function_ptr_tester(R (__cdecl*)()); template
yes_type is_function_ptr_tester(R (__cdecl*)( ...)); #endif template
yes_type is_function_ptr_tester(R (*)( T0)); template
yes_type is_function_ptr_tester(R (*)( T0 ...)); #ifdef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS template
yes_type is_function_ptr_tester(R (__stdcall*)( T0)); template
yes_type is_function_ptr_tester(R (__stdcall*)( T0 ...)); template
yes_type is_function_ptr_tester(R (__fastcall*)( T0)); template
yes_type is_function_ptr_tester(R (__fastcall*)( T0 ...)); template
yes_type is_function_ptr_tester(R (__cdecl*)( T0)); #endif template
yes_type is_function_ptr_tester(R (*)( T0 , T1)); #ifdef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS template
yes_type is_function_ptr_tester(R (__stdcall*)( T0 , T1)); template
yes_type is_function_ptr_tester(R (__fastcall*)( T0 , T1)); template
yes_type is_function_ptr_tester(R (__cdecl*)( T0 , T1)); #endif template
struct is_unary_or_binary_function_impl { static T* t; static const bool value = sizeof(is_function_ptr_tester(t)) == sizeof(yes_type); }; template
struct is_unary_or_binary_function_impl
{ static const bool value = false; }; template
struct is_unary_or_binary_function { static const bool value = is_unary_or_binary_function_impl
::value; }; //boost::alignment_of yields to 10K lines of preprocessed code, so we //need an alternative template
struct alignment_of; template
struct alignment_of_hack { char c; T t; alignment_of_hack(); }; template
struct alignment_logic { static const std::size_t value = A < S ? A : S; }; template< typename T > struct alignment_of { static const std::size_t value = alignment_logic < sizeof(alignment_of_hack
) - sizeof(T) , sizeof(T) >::value; }; template
struct is_same { typedef char yes_type; struct no_type { char padding[8]; }; template
static yes_type is_same_tester(V*, V*); static no_type is_same_tester(...); static T *t; static U *u; static const bool value = sizeof(yes_type) == sizeof(is_same_tester(t,u)); }; template
struct add_const { typedef const T type; }; template
struct remove_const { typedef T type; }; template
struct remove_const
{ typedef T type; }; template
struct remove_reference { typedef T type; }; template
struct remove_reference
{ typedef T type; }; template
class is_empty_class { template
struct empty_helper_t1 : public T { empty_helper_t1(); int i[256]; }; struct empty_helper_t2 { int i[256]; }; public: static const bool value = sizeof(empty_helper_t1
) == sizeof(empty_helper_t2); }; } //namespace detail } //namespace intrusive } //namespace boost #endif //BOOST_INTRUSIVE_DETAIL_MPL_HPP
mpl.hpp
Page URL
File URL
Prev
9/18
Next
Download
( 6 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.