Commit 5d24c4e9 authored by Eric Niebler's avatar Eric Niebler Committed by Facebook Github Bot

use PUSHMI_PP_IS_SAME instead of __is_same_as, which the CUDA compiler doesn't like.

fbshipit-source-id: 87c80e673533d18b0b99ffc673eff466204af9d9
parent fb5dc13a
...@@ -695,7 +695,7 @@ PUSHMI_CONCEPT_DEF( ...@@ -695,7 +695,7 @@ PUSHMI_CONCEPT_DEF(
PUSHMI_CONCEPT_DEF( PUSHMI_CONCEPT_DEF(
template (class T, class U) template (class T, class U)
concept Same, concept Same,
__is_same_as(T, U) && __is_same_as(U, T) PUSHMI_PP_IS_SAME(T, U) && PUSHMI_PP_IS_SAME(U, T)
); );
PUSHMI_CONCEPT_DEF( PUSHMI_CONCEPT_DEF(
......
...@@ -77,7 +77,7 @@ PUSHMI_CONCEPT_DEF( ...@@ -77,7 +77,7 @@ PUSHMI_CONCEPT_DEF(
PUSHMI_CONCEPT_DEF( PUSHMI_CONCEPT_DEF(
template (class T, class U) template (class T, class U)
concept Same, concept Same,
__is_same_as(T, U) && __is_same_as(U, T) PUSHMI_PP_IS_SAME(T, U) && PUSHMI_PP_IS_SAME(U, T)
); );
PUSHMI_CONCEPT_DEF( PUSHMI_CONCEPT_DEF(
......
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