Add BOOST_NVP convenience macro

This commit is contained in:
Glen Fernandes committed 2019-09-16 02:15:53 -04:00
1 parent 7cc1047ab7
commit 0591b1d855
3 files changed
+23 -1

No files matched your search

+10
View File
@@ -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]