[libcxx-commits] [PATCH] D58987: Make underlying_type SFINAE-friendly

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 6 19:18:22 PST 2019


mclow.lists added a comment.

You should probably have at least one (and probably several) simple tests that `underlying_type<non enum type>` is a valid type.

  using Int = std::underlying_type<int>;
  using Float = std::underlying_type<float>;

etc.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58987/new/

https://reviews.llvm.org/D58987





More information about the libcxx-commits mailing list