From c4eec456a0f911f579ff0f2ab945174cb9292a62 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 16 Apr 2018 15:51:33 +1000 Subject: [PATCH] coord/base: remove explicit from scalar constructor we need to create vectors of zeros pretty often and it's pretty verbose having to continually use the full type name each time. --- coord/base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coord/base.hpp b/coord/base.hpp index 4890e686..efbf83b3 100644 --- a/coord/base.hpp +++ b/coord/base.hpp @@ -66,7 +66,7 @@ namespace util::coord { base () = default; /// constructs an instance where all elements are initialised to `val'. - constexpr explicit + constexpr base (T fill) { for (decltype(S) i = 0; i < S; ++i)