DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
True Drop Box
FTP/SFTP Hosting
Group Account
Team Anywhere
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
|
Cloud-to-Cloud Backup
|
DVR/Camera Backup
FTP, Email & Web Service
FTP/SFTP Hosting
|
Email Hosting
|
Web Hosting
|
Webcam Hosting
Other Products & Services
Team Anywhere
|
Connect to Remote PC
|
Cloud Surveillance
|
Virtual CCTV NVR
Quick Links
Security and Privacy
Customer Support
Service Manual
Use Cases
Group Account
Online Help
Support Forum
Contact Us
About DriveHQ
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
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
Other Features
Team Anywhere (Remote Desktop Service)
CameraFTP Cloud Surveillance
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Team Anywhere for Windows (Beta)
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
// // Boost.Pointer Container // // Copyright Thorsten Ottosen 2003-2005. Use, modification and // distribution is subject to 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) // // For more information, see http://www.boost.org/libs/ptr_container/ // #ifndef BOOST_PTR_CONTAINER_PTR_SET_HPP #define BOOST_PTR_CONTAINER_PTR_SET_HPP #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif #include
#include
#include
namespace boost { template < class Key, class Compare = std::less
, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator
> class ptr_set : public ptr_set_adapter< Key, std::set
,Allocator>, CloneAllocator > { typedef ptr_set_adapter< Key, std::set
,Allocator>, CloneAllocator > base_type; typedef ptr_set
this_type; public: explicit ptr_set( const Compare& comp = Compare(), const Allocator& a = Allocator() ) : base_type( comp, a ) { } template< typename InputIterator > ptr_set( InputIterator first, InputIterator last, const Compare& comp = Compare(), const Allocator& a = Allocator() ) : base_type( first, last, comp, a ) { } BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE( ptr_set, base_type, this_type ); BOOST_PTR_CONTAINER_DEFINE_COPY_CONSTRUCTORS( ptr_set, base_type ) }; template < class Key, class Compare = std::less
, class CloneAllocator = heap_clone_allocator, class Allocator = std::allocator
> class ptr_multiset : public ptr_multiset_adapter< Key, std::multiset
,Allocator>, CloneAllocator > { typedef ptr_multiset_adapter< Key, std::multiset
,Allocator>, CloneAllocator > base_type; typedef ptr_multiset
this_type; public: explicit ptr_multiset( const Compare& comp = Compare(), const Allocator& a = Allocator() ) : base_type( comp, a ) { } template< typename InputIterator > ptr_multiset( InputIterator first, InputIterator last, const Compare& comp = Compare(), const Allocator& a = Allocator() ) : base_type( first, last, comp, a ) { } BOOST_PTR_CONTAINER_DEFINE_RELEASE_AND_CLONE( ptr_multiset, base_type, this_type ); BOOST_PTR_CONTAINER_DEFINE_COPY_CONSTRUCTORS( ptr_multiset, base_type ); }; ///////////////////////////////////////////////////////////////////////// // clonability template< typename K, typename C, typename CA, typename A > inline ptr_set
* new_clone( const ptr_set
& r ) { return r.clone().release(); } template< typename K, typename C, typename CA, typename A > inline ptr_multiset
* new_clone( const ptr_multiset
& r ) { return r.clone().release(); } ///////////////////////////////////////////////////////////////////////// // swap template< typename K, typename C, typename CA, typename A > inline void swap( ptr_set
& l, ptr_set
& r ) { l.swap(r); } template< typename K, typename C, typename CA, typename A > inline void swap( ptr_multiset
& l, ptr_multiset
& r ) { l.swap(r); } } #endif
ptr_set.hpp
Page URL
File URL
Prev
12/21
Next
Download
( 4 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.