forked from boostorg/core
Add a definition for nvp_bool
This commit is contained in:
1 parent
26497003f2
commit
f52dec58c2
3 files changed
+7
-8
No files matched your search
+2
-3
@@ -50,7 +50,7 @@ public:
|
||||
const T& const_value() const noexcept;
|
||||
|
||||
template<class A>
|
||||
void serialize(A& archive, unsigned version);
|
||||
void serialize(A& archive, unsigned);
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -80,8 +80,7 @@ const nvp<T> make_nvp(const char* name, T& value) noexcept;
|
||||
[Returns a reference to the value.]]
|
||||
[[`const T& const_value() const noexcept;`]
|
||||
[Returns a reference to the value.]]
|
||||
[[`template<class A> void serialize(A& archive,
|
||||
unsigned version);`]
|
||||
[[`template<class A> void serialize(A& archive, unsigned);`]
|
||||
[Calls `archive.operator<<(const_value())` if `A::is_saving` is a true type,
|
||||
otherwise `archive.operator>>(value())`.]]]
|
||||
|
||||
|
||||
Reference in new issue
Block a user