1
0
forked from boostorg/core

Add a convenience instance of empty_init_t (#65)

* Added a convenience instance of empty_init_t.

Closes https://github.com/boostorg/core/issues/63.
This commit is contained in:
Andrey Semashev
2019-11-24 05:00:59 +03:00
committed by Glen Fernandes
parent 6d62fb5f5e
commit 38f71361fb

View File

@ -40,6 +40,9 @@ struct use_empty_value_base {
struct empty_init_t { };
BOOST_INLINE_VARIABLE BOOST_CONSTEXPR_OR_CONST
empty_init_t empty_init = empty_init_t();
namespace empty_ {
template<class T, unsigned N = 0,