Peter Dimov
|
c003fba3a0
|
Renamed, cleaned up interlocked.hpp; added test
|
2014-02-12 20:48:35 +02:00 |
|
Peter Dimov
|
9f5822f427
|
Add support and test for C++11 construct/destroy in allocate_shared
|
2014-02-05 02:31:33 +02:00 |
|
Peter Dimov
|
975d04ac62
|
Merge Jamfile.v2 on git's insistence
|
2014-02-05 00:29:18 +02:00 |
|
Peter Dimov
|
90e74511f7
|
Add support and tests for C++11 minimal allocators
|
2014-02-05 00:17:34 +02:00 |
|
Glen Fernandes
|
72e5fb6fd7
|
Add fourth form of make_unique for objects
To support initialization syntax that Args&&... cannot forward perfectly.
|
2014-01-29 17:16:01 -08:00 |
|
Glen Fernandes
|
7806737b52
|
Add make_unique for arrays and objects
|
2014-01-28 03:58:51 -08:00 |
|
Glen Fernandes
|
630e4f49f3
|
Update make_shared for arrays to conform to N3870
Update make_shared and allocate_shared for arrays to be confined to the
set of overloads specified in N3870.
|
2014-01-23 20:40:46 -08:00 |
|
Peter Dimov
|
a41b81f1c8
|
Added shared_array constructor from nullptr, per #8894.
|
2013-12-12 01:22:51 +02:00 |
|
Andrey Semashev
|
a7d96b4762
|
Extracted intrusive_ref_counter from Boost.Log. The extracted version supports customizing the reference counter nature, two policies provided: thread_unsafe_counter and thread_safe_counter.
[SVN r85535]
|
2013-08-31 19:54:11 +00:00 |
|
Glen Fernandes
|
66f34142be
|
Fix cxxflags in smart_ptr/test/Jamfile.v2
[SVN r82070]
|
2012-12-18 09:24:31 +00:00 |
|
Glen Fernandes
|
63834f7233
|
Specify gcc-4.6 instead of gcc-4.6.3 for toolset
[SVN r82038]
|
2012-12-16 23:03:30 +00:00 |
|
Glen Fernandes
|
bb700870c0
|
Specify <cxxflags>-fno-deduce-init-list for gcc-4.6.3 only.
[SVN r81950]
|
2012-12-14 20:05:03 +00:00 |
|
Glen Fernandes
|
e36689bd5e
|
Correct call to init_list in make_shared and allocate_shared. Move g++ failing case into separate test to not mask other issues.
[SVN r81905]
|
2012-12-13 18:02:25 +00:00 |
|
Glen Fernandes
|
bbf0245248
|
Remove -fno-deduce-init-list for certain tests in Jamfile.v2
[SVN r81894]
|
2012-12-13 12:21:44 +00:00 |
|
Glen Fernandes
|
4ba8d879f1
|
Use BOOST_NO_CXX11_RVALUE_REFERENCES and BOOST_NO_CXX11_VARIADIC_TEMPLATES instead of the legacy macros. Rename identifiers of detail utility functions.
[SVN r81886]
|
2012-12-13 04:04:23 +00:00 |
|
Peter Dimov
|
8093967da7
|
Use explicit operator bool when available; add nullptr support to shared_ptr. Refs #4116.
[SVN r81780]
|
2012-12-08 00:51:59 +00:00 |
|
Peter Dimov
|
97d32745aa
|
Update shared_ptr casts.
[SVN r81463]
|
2012-11-21 17:43:48 +00:00 |
|
Glen Fernandes
|
3b0b10d06d
|
Update Jamfile.v2 with two new smart_ptr tests for allocate_shared and make_shared
[SVN r81300]
|
2012-11-11 19:21:18 +00:00 |
|
Peter Dimov
|
58a46f4e55
|
Add allocate_shared_array_args_test.cpp.
[SVN r81268]
|
2012-11-09 18:26:40 +00:00 |
|
Glen Fernandes
|
ffa3327817
|
For allocate_shared and make_shared: Separate test case that g++ does support yet. Remove macros testing for no partial specialization in traits. Add additional traits.
[SVN r81261]
|
2012-11-09 16:06:48 +00:00 |
|
Peter Dimov
|
aa7562c3e5
|
Add support for shared_ptr<X[N>.
[SVN r81253]
|
2012-11-08 18:07:49 +00:00 |
|
Glen Fernandes
|
c57245d710
|
Add tests for variadic template constructors overload of array forms of make_shared and allocate_shared for multidimensional arrays and up to 9 constructor arguments.
[SVN r81242]
|
2012-11-08 05:33:52 +00:00 |
|
Glen Fernandes
|
5d9312239c
|
Update allocate_shared and make_shared to treat multidimensional array as single dimension. Remove detail array_helper. Add detail array traits. Update tests.
[SVN r81236]
|
2012-11-07 18:37:17 +00:00 |
|
Peter Dimov
|
e50c849ab3
|
Add sp_convertible_test.cpp.
[SVN r81234]
|
2012-11-07 15:33:44 +00:00 |
|
Peter Dimov
|
c06ba497a3
|
Rename sp_convertible_test.cpp to shared_ptr_convertible_test.cpp.
[SVN r81232]
|
2012-11-07 15:07:08 +00:00 |
|
Peter Dimov
|
6e873de0fa
|
Add make_shared_array_args_test.cpp.
[SVN r81226]
|
2012-11-06 17:31:15 +00:00 |
|
Glen Fernandes
|
e7d3987cfb
|
Update Jamfile.v2 to run make_shared array tests and allocate_shared array tests.
[SVN r81220]
|
2012-11-06 14:35:40 +00:00 |
|
Peter Dimov
|
0b6cab9f2f
|
Fix shared_ptr<T[]> EDG issues.
[SVN r81159]
|
2012-11-03 14:49:45 +00:00 |
|
Peter Dimov
|
8c15401ea7
|
Implement shared_ptr<X[]>, weak_ptr<X[]>. Refs #1113.
[SVN r81149]
|
2012-11-02 17:41:33 +00:00 |
|
Peter Dimov
|
0c22e55f3e
|
Add shared_ptr constructor taking std::unique_ptr. Refs #6625.
[SVN r81131]
|
2012-10-31 22:16:20 +00:00 |
|
Peter Dimov
|
57a5441ebf
|
Creatively apply patch from #2603. Refs #2603.
[SVN r76111]
|
2011-12-23 03:00:05 +00:00 |
|
Peter Dimov
|
e4cb5e131f
|
Add hash_value for intrusive_ptr. Refs #6087.
[SVN r75392]
|
2011-11-07 18:46:46 +00:00 |
|
Peter Dimov
|
fbe4ddf4a2
|
Add get_deleter for shared_array. Refs #4493.
[SVN r75390]
|
2011-11-07 18:19:24 +00:00 |
|
Peter Dimov
|
69aa01ec00
|
Add hash_value for shared_ptr; prevents hash_value( bool ) from being used. Refs #5216.
[SVN r69260]
|
2011-02-24 23:24:54 +00:00 |
|
Peter Dimov
|
3c84388186
|
Resolve the ambiguity between the zero argument make_shared and the variadic one. Refs #3856.
[SVN r62248]
|
2010-05-26 18:18:10 +00:00 |
|
Peter Dimov
|
577528812a
|
Fix sp_typeinfo to match the interface of std::type_info.
[SVN r58127]
|
2009-12-03 20:31:01 +00:00 |
|
Frank Mori Hess
|
18bfaea996
|
Fixed perfect forwarding for make_shared() in trunk, and added
corresponding test. Refs #2962.
[SVN r57520]
|
2009-11-09 18:12:35 +00:00 |
|
Frank Mori Hess
|
9f49538b37
|
Added weak_from_raw(), for use in conjunction with
enable_shared_from_raw base class.
[SVN r57423]
|
2009-11-05 21:41:38 +00:00 |
|
Timothy Zachary Laine
|
fc12543814
|
Merged in smart_ptr changes from the sandbox/boost0x branch created for
BoostCon '09. This adds move semantics to weak_ptr and intrusive_ptr.
[SVN r52937]
|
2009-05-12 16:18:15 +00:00 |
|
Peter Dimov
|
4b4a62513f
|
Make ++a, where a is an atomic_count, return the new value.
[SVN r52456]
|
2009-04-17 20:24:01 +00:00 |
|
Peter Dimov
|
0368a37fde
|
Bring back "explicit" on the auto_ptr rvalue constructor. Refs #2951.
[SVN r52454]
|
2009-04-17 19:51:18 +00:00 |
|
Peter Dimov
|
d34d638998
|
Bring back the constructor-enabled enable_shared_from_this as enable_shared_from_this2.
[SVN r51912]
|
2009-03-22 21:11:17 +00:00 |
|
Peter Dimov
|
0610947c4a
|
De-optimize assignment into this_type(r).swap(*this) - turns out that they were not equivalent, leading to leaks in contrived cases. Refs #2813.
[SVN r51643]
|
2009-03-07 22:21:56 +00:00 |
|
Peter Dimov
|
9c55fbc6c2
|
Fix enable_shared_from_this-related tickets in trunk. Refs #2126. Refs #2584.
[SVN r51581]
|
2009-03-03 19:25:26 +00:00 |
|
Peter Dimov
|
10f6ff8b77
|
Sync smart_ptr/test/Jamfile.v2 with release.
[SVN r51486]
|
2009-02-28 21:08:25 +00:00 |
|
Peter Dimov
|
83c43617af
|
Fixes for MSVC 6.0.
[SVN r45085]
|
2008-05-03 19:29:01 +00:00 |
|
Peter Dimov
|
0c4aaef77c
|
Fix #1106.
[SVN r45068]
|
2008-05-03 15:07:58 +00:00 |
|
Peter Dimov
|
18a6c1add8
|
make_shared added; tweaks for old compilers; fixes #1884.
[SVN r44979]
|
2008-05-01 16:50:39 +00:00 |
|
Anthony Williams
|
4bb747fb27
|
reverted accidental change
[SVN r44839]
|
2008-04-28 09:04:40 +00:00 |
|
Anthony Williams
|
f13591ef2b
|
Added detail::try_lock_wrapper for use as scoped_try_lock typedefs, to fix issue #1873
[SVN r44838]
|
2008-04-28 09:00:58 +00:00 |
|