minor style improvement:

traits class should have a static const bool value member
This commit is contained in:
Mathew Sutcliffe
2014-03-23 21:01:53 +00:00
parent bfce2d186f
commit 6cf5089b18
2 changed files with 3 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ namespace BlackMisc
struct HasEnabledTupleConversion
{
typedef decltype(hasEnabledTupleConversionHelper(static_cast<T *>(nullptr))) type;
static const bool value = type::value;
};
// Using tag dispatch to select which implementation of compare() to use