mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-31 13:07:33 +02:00
Comeau fixes
[SVN r8691]
This commit is contained in:
@ -96,7 +96,7 @@ struct require_same { typedef T type; };
|
|||||||
struct IntegerConcept {
|
struct IntegerConcept {
|
||||||
void constraints() {
|
void constraints() {
|
||||||
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
x.error_type_not_an_integer();
|
x.error_type_must_be_an_integer_type();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
T x;
|
T x;
|
||||||
@ -115,9 +115,10 @@ struct require_same { typedef T type; };
|
|||||||
struct SignedIntegerConcept {
|
struct SignedIntegerConcept {
|
||||||
void constraints() {
|
void constraints() {
|
||||||
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
errortype_must_be_a_signed_integer_type();
|
x.error_type_must_be_a_signed_integer_type();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
T x;
|
||||||
};
|
};
|
||||||
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
template <> struct SignedIntegerConcept<short> { void constraints() {} };
|
template <> struct SignedIntegerConcept<short> { void constraints() {} };
|
||||||
|
Reference in New Issue
Block a user