9bc1cc585c
small sfinae fix for in_place constructors
2016-11-02 22:28:20 +01:00
4e08f0dd41
Fixed build in C++03 compiler
2016-10-28 11:49:33 +02:00
9af24038bc
fixed initialization of in_place tags
2016-10-27 11:40:23 +02:00
92d40c7108
Fixed in_place_init tags
2016-10-27 09:21:24 +02:00
eb9ea1f72d
added in_place constructors
2016-10-27 01:08:17 +02:00
9f8823aebf
Fixed #24
2016-09-27 09:51:09 +03:00
99efe72052
is_const_interal -> is_const_integral
2016-09-06 21:59:54 +02:00
f9324a8790
attempt fix at gcc 5.2 c++03
2016-09-02 01:42:26 +02:00
088e2e3051
Suppress a 'unused parameter' warning in optional_reference_spec.hpp
2016-05-31 01:00:20 +02:00
5d5d1f46ba
Merge pull request #19 from tiwoc/fix-include-config
...
Fix build issues when optional_fwd.hpp is used before including boost/config.hpp
2016-05-20 08:27:39 +02:00
08076e3964
fixed optional<optional<T>&> case
2016-05-17 00:54:09 +02:00
844ca6a0d5
Fix build issues when optional_fwd.hpp is used before including boost/config.hpp
...
Fixes https://svn.boost.org/trac/boost/ticket/12179
2016-05-14 10:34:13 +02:00
865d94a8d8
fixed interop between opt refs and opt vals
2016-03-06 19:08:25 +01:00
0831788c86
Removed enable_if factory on SUNPRO compilers
2016-03-05 23:22:29 +01:00
9118518516
more extensive speculative fix
2016-02-20 16:36:48 +01:00
c0084a0451
extended speculative fix to more MSVC compilers
2016-02-20 16:11:16 +01:00
3b58b0f4da
speculative fix for msvc 8.0 test failure
2016-02-20 11:34:18 +01:00
f6e09fbf9c
value constructor is sfinae-friendly
2016-02-19 18:41:42 +01:00
5ffa3fd2f6
turned a complicatedcondition in enable_if into a metafun
2016-02-19 01:51:08 +01:00
44d57a1d8b
Fix: prevented the binding illegal temporary to optional<const int&>
...
Older MSVC versions add illegal temporary when you want to assign from const integral value.
2016-02-19 00:25:54 +01:00
1671966380
fixed preprocessor typeo
2016-02-18 15:02:07 +01:00
b38b64cee9
extended destructor workaround to MSVC 10.0
2016-02-18 12:34:08 +01:00
7ae2db7312
Conditionally removing optional destructor
2016-02-18 11:00:24 +01:00
630fbb7973
re-added explicit optional destructor
...
If it is not there T::~T() is never called in buggy msvc-8.0.
2016-02-18 09:16:59 +01:00
c653372524
cleanup after separating references
2016-02-18 00:24:59 +01:00
87ef503606
Removed empty optional destructor
2016-02-17 16:39:07 +01:00
94c735af2d
added optional ref swap
...
and also chaned the copyright year in docs
2016-02-13 15:33:07 +01:00
b5b8414c06
Primary template optional<> does not handle references
2016-02-13 00:46:41 +01:00
0a228e74fe
Config: NO_PROPER_CONVERT in older GCC
2015-10-24 22:45:00 +02:00
4b3077dea3
config: if for intel
2015-10-20 23:42:03 +02:00
7396e4051b
config: fixed bad name
2015-10-20 16:02:04 +02:00
b96337a6d7
no intel detection
2015-10-20 09:21:02 +02:00
74bd6444db
config: excluding intel
2015-10-19 10:21:54 +02:00
472a94d371
CFG: handling C++03 compilers
2015-10-15 08:48:34 +02:00
fb1cf2581e
Config: detect ref convert bug in gcc 4.4 and 4.5
2015-10-14 23:11:33 +02:00
29975d6192
Config: improved NO_PROPER_CONVERT
2015-10-13 10:47:26 +02:00
6375fccf27
NO_PROPER_CONVERT_FROM_CONST_INT macro
2015-10-10 15:23:38 +02:00
0d5061aebe
experimental optional config test
2015-10-08 18:54:21 +02:00
bc91cac244
Add newline at EOF
2015-10-07 09:02:13 +02:00
fb1edf51e8
value_or_eval fix
2015-10-06 12:39:02 +02:00
4939613070
added missing ifdef
2015-10-06 09:17:14 +02:00
b0d7786e14
bug fixes
2015-10-06 00:33:14 +02:00
e7cab0e233
fixed digraphs in optional refs
2015-10-05 23:50:11 +02:00
cf4b2e8b16
specialization for optional ref - preliminary
2015-10-05 16:54:05 +02:00
9f8dd57386
boost::none - simpler and works with MSVC
2015-10-02 09:00:57 +02:00
b43ce289c2
Fixed no-return warning
2015-06-03 18:22:41 +02:00
4e7405a233
Sane swap() for rvalue-aware compilers
...
When we detect that compiler supports rvalue references, we implement swap() in term of moves (as intuition suggests).
Otherwise we fall back to old tricks with default constructor+swap
2015-05-18 16:51:12 +02:00
8ca74951b0
Added emplace(void) for older compilers
2015-05-15 18:10:19 +02:00
1d7fe0e770
Removed unused parameters.
2015-04-21 14:37:41 -07:00
15d9fcdbd1
added missing overload for value_or fo non-C++11 compilers
2015-03-10 07:14:36 +01:00