We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1fd6a2 commit dfe99beCopy full SHA for dfe99be
1 file changed
include/boost/log/utility/value_ref.hpp
@@ -255,6 +255,7 @@ class variant_ref
255
public:
256
//! Referenced value type
257
typedef T value_type;
258
+ static_assert(mpl::size< value_type >::value > 0, "Boost.Log: List of types referenced by value_ref must not be empty");
259
//! Tag type
260
typedef TagT tag_type;
261
0 commit comments