aboutsummaryrefslogtreecommitdiffstats
path: root/include/chilbert/detail/traits.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-09-16 21:19:57 -0400
committerDavid Robillard <d@drobilla.net>2022-09-16 22:31:06 -0400
commit2e4d666eec1a372d4b64c527d6c4945ad98d2b58 (patch)
treea3a61d346c3d4e5b590b08db446d17307df0e3c5 /include/chilbert/detail/traits.hpp
parentbf05ef949750cfca6e001b0f767cd2173441fc8c (diff)
downloadchilbert-2e4d666eec1a372d4b64c527d6c4945ad98d2b58.tar.gz
chilbert-2e4d666eec1a372d4b64c527d6c4945ad98d2b58.tar.bz2
chilbert-2e4d666eec1a372d4b64c527d6c4945ad98d2b58.zip
Update clang-format configuration
Diffstat (limited to 'include/chilbert/detail/traits.hpp')
-rw-r--r--include/chilbert/detail/traits.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/chilbert/detail/traits.hpp b/include/chilbert/detail/traits.hpp
index 3e3f4d2..e6a2023 100644
--- a/include/chilbert/detail/traits.hpp
+++ b/include/chilbert/detail/traits.hpp
@@ -23,14 +23,13 @@ namespace chilbert {
namespace detail {
/// Member `value` is true iff T is a chilbert bitset
-template <class T>
-struct is_bitvec
-{
- static constexpr bool value = false;
+template<class T>
+struct is_bitvec {
+ static constexpr bool value = false;
};
/// True iff T is a chilbert bitset
-template <class T>
+template<class T>
static constexpr bool is_bitvec_v = is_bitvec<T>::value;
} // namespace detail