aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/c_global
diff options
context:
space:
mode:
authorJonathan Wakely <redi@gcc.gnu.org>2018-01-25 15:24:39 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2018-01-25 15:24:39 +0000
commit58078de77b2b22bb36d28daf2a7fe79397d5f057 (patch)
tree26925a26a22bce5f098941619e4442132d1b364d /libstdc++-v3/include/c_global
parente3b18df45bd8fe4d4fa154d8f52e05ebb4a81da8 (diff)
downloadgcc-58078de77b2b22bb36d28daf2a7fe79397d5f057.zip
gcc-58078de77b2b22bb36d28daf2a7fe79397d5f057.tar.gz
gcc-58078de77b2b22bb36d28daf2a7fe79397d5f057.tar.bz2
PR libstdc++/81076 make __byte_operand SFINAE-friendly
PR libstdc++/81076 * include/c_global/cstddef (__byte_operand): Define primary template. * testsuite/18_support/byte/81076.cc: New test. From-SVN: r257050
Diffstat (limited to 'libstdc++-v3/include/c_global')
-rw-r--r--libstdc++-v3/include/c_global/cstddef2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef
index af36cc0..36d7d71 100644
--- a/libstdc++-v3/include/c_global/cstddef
+++ b/libstdc++-v3/include/c_global/cstddef
@@ -65,7 +65,7 @@ namespace std
/// std::byte
enum class byte : unsigned char {};
- template<typename _IntegerType> struct __byte_operand;
+ template<typename _IntegerType> struct __byte_operand { };
template<> struct __byte_operand<bool> { using __type = byte; };
template<> struct __byte_operand<char> { using __type = byte; };
template<> struct __byte_operand<signed char> { using __type = byte; };