forked from boostorg/core
Add BOOST_NVP convenience macro
This commit is contained in:
1 parent
7cc1047ab7
commit
0591b1d855
3 files changed
+23
-1
No files matched your search
+10
@@ -54,6 +54,8 @@ template<class T>
|
||||
const nvp<T> make_nvp(const char* name, T& value) noexcept;
|
||||
|
||||
} /* boost */
|
||||
|
||||
#define BOOST_NVP(object) ``['see below]``
|
||||
```
|
||||
|
||||
[section Constructors]
|
||||
@@ -86,6 +88,14 @@ noexcept;`]
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Macros]
|
||||
|
||||
[variablelist
|
||||
[[`#define BOOST_NVP(object) see below`]
|
||||
[Expands to `boost::make_nvp(BOOST_STRINGIZE(object), object)`.]]]
|
||||
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Acknowledgments]
|
||||
|
||||
Reference in new issue
Block a user