mirror of
https://github.com/boostorg/log.git
synced 2026-01-19 04:22:09 +00:00
Added a sanity check for value_ref over an empty type list.
This commit is contained in:
@@ -255,6 +255,7 @@ class variant_ref
|
||||
public:
|
||||
//! Referenced value type
|
||||
typedef T value_type;
|
||||
static_assert(mpl::size< value_type >::value > 0, "Boost.Log: List of types referenced by value_ref must not be empty");
|
||||
//! Tag type
|
||||
typedef TagT tag_type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user