Browse Source

* removed unneeded code from mp::integral_constant

master
bergmann 6 years ago
parent
commit
5193dbfa3e
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      src/cpputils/mp/core/const.h

+ 1
- 8
src/cpputils/mp/core/const.h View File

@@ -6,15 +6,8 @@
namespace utl {
namespace mp {

template<typename T>
struct tag_integral_constant { };

template<typename T, T t>
struct integral_constant :
public std::integral_constant<T, t>
{
using tag = tag_integral_constant<T>;
};
using integral_constant = std::integral_constant<T, t>;

template<bool B>
using c_bool_t = integral_constant<bool, B>;


Loading…
Cancel
Save