main.cpp: In function 'int main()':
main.cpp:53:19: error: 'is_customly_convertible' was not declared in this scope
static_assert(is_customly_convertible<int, int>::value);
^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:53:19: note: suggested alternative: 'is_custom_convertible'
static_assert(is_customly_convertible<int, int>::value);
^~~~~~~~~~~~~~~~~~~~~~~
is_custom_convertible
main.cpp:53:43: error: expected primary-expression before 'int'
static_assert(is_customly_convertible<int, int>::value);
^~~
main.cpp:53:43: error: expected ',' before 'int'
main.cpp:53:43: error: expected string-literal before 'int'
main.cpp:53:43: error: expected ')' before 'int'
main.cpp:55:43: error: expected primary-expression before 'int'
static_assert(is_customly_convertible<int, float>::value);
^~~
main.cpp:55:43: error: expected ',' before 'int'
main.cpp:55:43: error: expected string-literal before 'int'
main.cpp:55:43: error: expected ')' before 'int'
main.cpp:56:44: error: expected primary-expression before 'float'
static_assert(!is_customly_convertible<float, float>::value);
^~~~~
main.cpp:56:43: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
static_assert(!is_customly_convertible<float, float>::value);
^
main.cpp:56:44: error: expected ',' before 'float'
static_assert(!is_customly_convertible<float, float>::value);
^~~~~
main.cpp:56:44: error: expected string-literal before 'float'
main.cpp:56:44: error: expected ')' before 'float'
main.cpp:58:47: error: expected primary-expression before ',' token
static_assert(is_customly_convertible<Test, int>::value);
^
main.cpp:58:49: error: expected string-literal before 'int'
static_assert(is_customly_convertible<Test, int>::value);
^~~
main.cpp:58:49: error: expected ')' before 'int'
main.cpp:59:44: error: expected primary-expression before 'int'
static_assert(!is_customly_convertible<int, Test>::value);
^~~
main.cpp:59:43: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
static_assert(!is_customly_convertible<int, Test>::value);
^
main.cpp:59:44: error: expected ',' before 'int'
static_assert(!is_customly_convertible<int, Test>::value);
^~~
main.cpp:59:44: error: expected string-literal before 'int'
main.cpp:59:44: error: expected ')' before 'int'
main.cpp:61:62: error: expected primary-expression before ',' token
static_assert(is_customly_convertible<NoCopyConstructible, NoTriviallyConstructible>::value);
^
main.cpp:61:64: error: expected string-literal before 'NoTriviallyConstructible'
static_assert(is_customly_convertible<NoCopyConstructible, NoTriviallyConstructible>::value);
^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:61:64: error: expected ')' before 'NoTriviallyConstructible'
main.cpp:62:68: error: expected primary-expression before ',' token
static_assert(!is_customly_convertible<NoTriviallyConstructible, NoCopyConstructible>::value);
^
main.cpp:62:43: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
static_assert(!is_customly_convertible<NoTriviallyConstructible, NoCopyConstructible>::value);
^
main.cpp:62:70: error: expected string-literal before 'NoCopyConstructible'
static_assert(!is_customly_convertible<NoTriviallyConstructible, NoCopyConstructible>::value);
^~~~~~~~~~~~~~~~~~~
main.cpp:62:70: error: expected ')' before 'NoCopyConstructible'
main.cpp:64:63: error: expected primary-expression before ',' token
static_assert(!is_customly_convertible<NoCopyConstructible, int>::value);
^
main.cpp:64:43: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
static_assert(!is_customly_convertible<NoCopyConstructible, int>::value);
^
main.cpp:64:65: error: expected string-literal before 'int'
static_assert(!is_customly_convertible<NoCopyConstructible, int>::value);
^~~
main.cpp:64:65: error: expected ')' before 'int'
main.cpp:65:44: error: expected primary-expression before 'int'
static_assert(!is_customly_convertible<int, NoCopyConstructible>::value);
^~~
main.cpp:65:43: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
static_assert(!is_customly_convertible<int, NoCopyConstructible>::value);
^
main.cpp:65:44: error: expected ',' before 'int'
static_assert(!is_customly_convertible<int, NoCopyConstructible>::value);
^~~
main.cpp:65:44: error: expected string-literal before 'int'
main.cpp:65:44: error: expected ')' before 'int'
cc1plus: all warnings being treated as errors
|