Skip to content
Snippets Groups Projects
Commit 2baee092 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add separation comments

parent f64135a2
No related branches found
No related tags found
1 merge request!37Feature/language
...@@ -8,6 +8,8 @@ class TinyVector; ...@@ -8,6 +8,8 @@ class TinyVector;
template <size_t N, typename T> template <size_t N, typename T>
class TinyMatrix; class TinyMatrix;
// Traits is_trivially_castable
template <typename T> template <typename T>
inline constexpr bool is_trivially_castable = std::is_trivial_v<T>; inline constexpr bool is_trivially_castable = std::is_trivial_v<T>;
...@@ -21,6 +23,8 @@ inline constexpr bool is_trivially_castable<TinyMatrix<N, T>> = is_trivially_cas ...@@ -21,6 +23,8 @@ inline constexpr bool is_trivially_castable<TinyMatrix<N, T>> = is_trivially_cas
template <size_t N, typename T> template <size_t N, typename T>
inline constexpr bool is_trivially_castable<const TinyMatrix<N, T>> = is_trivially_castable<T>; inline constexpr bool is_trivially_castable<const TinyMatrix<N, T>> = is_trivially_castable<T>;
// Traits is_false
template <typename T> template <typename T>
inline constexpr bool is_false_v = false; inline constexpr bool is_false_v = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment