Преглед на файлове

* removed unneeded code from mp::integral_constant

master
bergmann преди 6 години
родител
ревизия
5193dbfa3e
променени са 1 файла, в които са добавени 1 реда и са изтрити 8 реда
  1. +1
    -8
      src/cpputils/mp/core/const.h

+ 1
- 8
src/cpputils/mp/core/const.h Целия файл

@@ -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>;


Зареждане…
Отказ
Запис