Commit 05c4cea6 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber

Added todo comment to TypeTraits.h.

parent 02f481ee
......@@ -144,6 +144,8 @@ private:
static constexpr std::false_type is_constexpr_impl(...);
using type = decltype(is_constexpr_impl< decltype(&T::getSize), &T::getSize >(0));
// TODO: this does not work for integral types because T::getSize does not exist
// error #276: name followed by "::" must be a class or namespace name
static constexpr bool value = type::value;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment