You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: regression-tests/test-results/apple-clang-14/pure2-as-cast-arithetic-types-bigger-to-smaller.cpp.output
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
In file included from pure2-as-cast-arithetic-types-bigger-to-smaller.cpp:7:
2
-
../../../include/cpp2util.h:1809:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<unsigned char, unsigned short &&>' "'as' does not allow unsafe narrowing conversions - if you're sure you want this, use `unsafe_narrow<T>()` to force the conversion"
2
+
../../../include/cpp2util.h:1821:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<unsigned char, unsigned short &&>' "'as' does not allow unsafe narrowing conversions - if you're sure you want this, use `unsafe_narrow<T>()` to force the conversion"
3
3
static_assert(
4
4
^
5
5
pure2-as-cast-arithetic-types-bigger-to-smaller.cpp:19:19: note: in instantiation of function template specialization 'cpp2::as_<unsigned char, unsigned short>' requested here
Copy file name to clipboardExpand all lines: regression-tests/test-results/apple-clang-14/pure2-as-cast-bigger-signed-to-smaller-unsigned.cpp.output
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
In file included from pure2-as-cast-bigger-signed-to-smaller-unsigned.cpp:7:
2
-
../../../include/cpp2util.h:1809:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<unsigned char, short &&>' "'as' does not allow unsafe narrowing conversions - if you're sure you want this, use `unsafe_narrow<T>()` to force the conversion"
2
+
../../../include/cpp2util.h:1821:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<unsigned char, short &&>' "'as' does not allow unsafe narrowing conversions - if you're sure you want this, use `unsafe_narrow<T>()` to force the conversion"
3
3
static_assert(
4
4
^
5
5
pure2-as-cast-bigger-signed-to-smaller-unsigned.cpp:19:19: note: in instantiation of function template specialization 'cpp2::as_<unsigned char, short>' requested here
Copy file name to clipboardExpand all lines: regression-tests/test-results/apple-clang-14/pure2-as-cast-class-to-unrelated-class.cpp.output
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
In file included from pure2-as-cast-class-to-unrelated-class.cpp:7:
2
-
../../../include/cpp2util.h:1815:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<A, B &&>' "No safe 'as' cast available - please check your cast"
2
+
../../../include/cpp2util.h:1827:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<A, B &&>' "No safe 'as' cast available - please check your cast"
3
3
static_assert(
4
4
^
5
5
pure2-as-cast-class-to-unrelated-class.cpp2:12:19: note: in instantiation of function template specialization 'cpp2::as_<A, B>' requested here
Copy file name to clipboardExpand all lines: regression-tests/test-results/apple-clang-14/pure2-as-cast-custom-class-to-string.cpp.output
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
In file included from pure2-as-cast-custom-class-to-string.cpp:7:
2
-
../../../include/cpp2util.h:1815:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<std::string, A &&>' "No safe 'as' cast available - please check your cast"
2
+
../../../include/cpp2util.h:1827:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<std::string, A &&>' "No safe 'as' cast available - please check your cast"
3
3
static_assert(
4
4
^
5
5
pure2-as-cast-custom-class-to-string.cpp2:11:19: note: in instantiation of function template specialization 'cpp2::as_<std::string, A>' requested here
Copy file name to clipboardExpand all lines: regression-tests/test-results/apple-clang-14/pure2-as-cast-double-to-int.cpp.output
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
In file included from pure2-as-cast-double-to-int.cpp:7:
2
-
../../../include/cpp2util.h:1809:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<int, double &&>' "'as' does not allow unsafe narrowing conversions - if you're sure you want this, use `unsafe_narrow<T>()` to force the conversion"
2
+
../../../include/cpp2util.h:1821:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<int, double &&>' "'as' does not allow unsafe narrowing conversions - if you're sure you want this, use `unsafe_narrow<T>()` to force the conversion"
3
3
static_assert(
4
4
^
5
5
pure2-as-cast-double-to-int.cpp:19:19: note: in instantiation of function template specialization 'cpp2::as_<int, double>' requested here
Copy file name to clipboardExpand all lines: regression-tests/test-results/apple-clang-14/pure2-as-cast-to-unrelated-type.cpp.output
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
In file included from pure2-as-cast-to-unrelated-type.cpp:7:
2
-
../../../include/cpp2util.h:1815:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<A, int &>' "No safe 'as' cast available - please check your cast"
2
+
../../../include/cpp2util.h:1827:9: error: static_assert failed due to requirement 'program_violates_type_safety_guarantee<A, int &>' "No safe 'as' cast available - please check your cast"
3
3
static_assert(
4
4
^
5
5
pure2-as-cast-to-unrelated-type.cpp2:5:19: note: in instantiation of function template specialization 'cpp2::as_<A, int &>' requested here
0 commit comments