We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 756c91a commit bf9d5e1Copy full SHA for bf9d5e1
1 file changed
include/gsl/pointers
@@ -51,7 +51,7 @@ namespace details
51
// Resolves to the more efficient of `const T` or `const T&`, in the context of returning a const-qualified value
52
// of type T.
53
//
54
- // Copied from cppfront's implementation of the CppCoreGuidelines F.16 (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-in)
+ // Copied from cppfront's implementation of the CppCoreGuidelines F.16 (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rf-in)
55
template<typename T>
56
using value_or_reference_return_t = std::conditional_t<
57
sizeof(T) <= 2*sizeof(void*) && std::is_trivially_copy_constructible<T>::value,
0 commit comments