forked from boostorg/optional
none_t/none reimplemented to avoid precompiled header issues (thanks to Joe Gottam)
optional<T> now has direct relational operator optional<T>::operator-> fixed for reference types [SVN r37126]
This commit is contained in:
1 parent
9bbde2be14
commit
b6a1946a60
6 files changed
+391
-186
No files matched your search
@@ -12,17 +12,12 @@
|
||||
#ifndef BOOST_NONE_17SEP2003_HPP
|
||||
#define BOOST_NONE_17SEP2003_HPP
|
||||
|
||||
#include "boost/none_t.hpp"
|
||||
|
||||
// NOTE: Borland users have to include this header outside any precompiled headers
|
||||
// (bcc<=5.64 cannot include instance data in a precompiled header)
|
||||
// -- * To be verified, now that there's no unnamed namespace
|
||||
|
||||
namespace boost {
|
||||
|
||||
none_t const none = ((none_t)0) ;
|
||||
enum none_t {none = 0};
|
||||
|
||||
} // namespace boost
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user