From dd3b640ba67647ca8980fc415c271b71764df5c6 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sun, 22 Oct 2023 12:06:14 +0800 Subject: [PATCH] *: Fold empty constructor bodies back --- asteria/argument_reader.hpp | 3 +-- asteria/binding_generator.hpp | 3 +-- asteria/compiler/expression_unit.hpp | 3 +-- asteria/compiler/infix_element.hpp | 3 +-- asteria/compiler/statement.hpp | 3 +-- asteria/compiler/statement_sequence.hpp | 3 +-- asteria/compiler/token.hpp | 3 +-- asteria/compiler/token_stream.hpp | 3 +-- asteria/fwd.hpp | 21 +++++++-------------- asteria/llds/avmc_queue.hpp | 3 +-- asteria/llds/reference_dictionary.hpp | 3 +-- asteria/llds/reference_stack.hpp | 3 +-- asteria/llds/variable_hashmap.hpp | 3 +-- asteria/recursion_sentry.hpp | 6 ++---- asteria/runtime/air_node.hpp | 3 +-- asteria/runtime/air_optimizer.hpp | 3 +-- asteria/runtime/analytic_context.hpp | 3 +-- asteria/runtime/backtrace_frame.hpp | 3 +-- asteria/runtime/executive_context.hpp | 6 ++---- asteria/runtime/garbage_collector.hpp | 3 +-- asteria/runtime/module_loader.hpp | 3 +-- asteria/runtime/ptc_arguments.hpp | 3 +-- asteria/runtime/reference.hpp | 3 +-- asteria/runtime/reference_modifier.hpp | 3 +-- asteria/runtime/variable.hpp | 3 +-- asteria/runtime/variadic_arguer.hpp | 6 ++---- asteria/simple_script.hpp | 3 +-- asteria/source_location.hpp | 6 ++---- asteria/value.hpp | 12 ++++-------- rocket/atomic.hpp | 6 ++---- rocket/bit_mask.hpp | 3 +-- rocket/cow_hashmap.hpp | 24 ++++++++---------------- rocket/cow_string.hpp | 12 ++++-------- rocket/cow_vector.hpp | 6 ++---- rocket/details/cow_hashmap.ipp | 18 ++++++------------ rocket/details/cow_string.ipp | 18 ++++++------------ rocket/details/cow_vector.ipp | 18 ++++++------------ rocket/details/fwd.ipp | 12 ++++-------- rocket/details/linear_buffer.ipp | 9 +++------ rocket/details/prehashed_string.ipp | 3 +-- rocket/details/refcnt_ptr.ipp | 6 ++---- rocket/details/static_vector.ipp | 12 ++++-------- rocket/details/unique_handle.ipp | 6 ++---- rocket/details/unique_ptr.ipp | 18 ++++++------------ rocket/details/xallocator.ipp | 3 +-- rocket/format.hpp | 6 ++---- rocket/linear_buffer.hpp | 6 ++---- rocket/optional.hpp | 3 +-- rocket/prehashed_string.hpp | 21 +++++++-------------- rocket/refcnt_ptr.hpp | 18 ++++++------------ rocket/reference_counter.hpp | 9 +++------ rocket/reference_wrapper.hpp | 6 ++---- rocket/static_vector.hpp | 6 ++---- rocket/tinybuf_file.hpp | 12 ++++-------- rocket/tinybuf_ln.hpp | 21 +++++++-------------- rocket/tinybuf_str.hpp | 15 +++++---------- rocket/tinyfmt_file.hpp | 6 ++---- rocket/tinyfmt_ln.hpp | 6 ++---- rocket/tinyfmt_str.hpp | 6 ++---- rocket/unique_handle.hpp | 18 ++++++------------ rocket/unique_posix_dir.hpp | 6 ++---- rocket/unique_posix_fd.hpp | 6 ++---- rocket/unique_posix_file.hpp | 6 ++---- rocket/unique_ptr.hpp | 21 +++++++-------------- rocket/variant.hpp | 3 +-- 65 files changed, 167 insertions(+), 334 deletions(-) diff --git a/asteria/argument_reader.hpp b/asteria/argument_reader.hpp index 8e0ad2c59..230afce86 100644 --- a/asteria/argument_reader.hpp +++ b/asteria/argument_reader.hpp @@ -33,8 +33,7 @@ class Argument_Reader Argument_Reader(stringR name, Reference_Stack&& stack) noexcept : m_name(name), m_stack(::std::move(stack)) - { - } + { } private: inline diff --git a/asteria/binding_generator.hpp b/asteria/binding_generator.hpp index b61352f3b..93039c16d 100644 --- a/asteria/binding_generator.hpp +++ b/asteria/binding_generator.hpp @@ -37,8 +37,7 @@ class Binding_Generator const char* file, int line) noexcept : m_name(name), m_params(params), m_file(file), m_line(line) - { - } + { } public: // These functions are invoked by `ASTERIA_BINDING()`. diff --git a/asteria/compiler/expression_unit.hpp b/asteria/compiler/expression_unit.hpp index f0a4d4fe2..9ebae951d 100644 --- a/asteria/compiler/expression_unit.hpp +++ b/asteria/compiler/expression_unit.hpp @@ -137,8 +137,7 @@ class Expression_Unit noexcept(::std::is_nothrow_constructible::value) : m_stor(::std::forward(xunit)) - { - } + { } template::value)> diff --git a/asteria/compiler/infix_element.hpp b/asteria/compiler/infix_element.hpp index 2ab20d002..25f2f4f1e 100644 --- a/asteria/compiler/infix_element.hpp +++ b/asteria/compiler/infix_element.hpp @@ -83,8 +83,7 @@ class Infix_Element noexcept(::std::is_nothrow_constructible::value) : m_stor(::std::forward(xelem)) - { - } + { } template::value)> diff --git a/asteria/compiler/statement.hpp b/asteria/compiler/statement.hpp index 509c89482..73766601f 100644 --- a/asteria/compiler/statement.hpp +++ b/asteria/compiler/statement.hpp @@ -192,8 +192,7 @@ class Statement noexcept(::std::is_nothrow_constructible::value) : m_stor(::std::forward(xstmt)) - { - } + { } template::value)> diff --git a/asteria/compiler/statement_sequence.hpp b/asteria/compiler/statement_sequence.hpp index 8736a3ceb..a09cecbc5 100644 --- a/asteria/compiler/statement_sequence.hpp +++ b/asteria/compiler/statement_sequence.hpp @@ -19,8 +19,7 @@ class Statement_Sequence Statement_Sequence(const Compiler_Options& opts) noexcept : m_opts(opts) - { - } + { } public: ASTERIA_NONCOPYABLE_DESTRUCTOR(Statement_Sequence); diff --git a/asteria/compiler/token.hpp b/asteria/compiler/token.hpp index 3911b7239..70452c2e6 100644 --- a/asteria/compiler/token.hpp +++ b/asteria/compiler/token.hpp @@ -72,8 +72,7 @@ class Token noexcept(::std::is_nothrow_constructible::value) : m_sloc(xsloc), m_length(xlen), m_stor(::std::forward(xtok)) - { - } + { } Token& swap(Token& other) noexcept diff --git a/asteria/compiler/token_stream.hpp b/asteria/compiler/token_stream.hpp index 446dbfeff..7a87081f8 100644 --- a/asteria/compiler/token_stream.hpp +++ b/asteria/compiler/token_stream.hpp @@ -21,8 +21,7 @@ class Token_Stream Token_Stream(const Compiler_Options& opts) noexcept : m_opts(opts) - { - } + { } public: ASTERIA_NONCOPYABLE_DESTRUCTOR(Token_Stream); diff --git a/asteria/fwd.hpp b/asteria/fwd.hpp index e38812a0e..c49927b81 100644 --- a/asteria/fwd.hpp +++ b/asteria/fwd.hpp @@ -376,22 +376,19 @@ class cow_opaque public: constexpr cow_opaque(nullptr_t = nullptr) noexcept - { - } + { } template cow_opaque(const refcnt_ptr& sptr) noexcept : m_sptr(sptr) - { - } + { } template cow_opaque(refcnt_ptr&& sptr) noexcept : m_sptr(::std::move(sptr)) - { - } + { } cow_opaque& operator=(nullptr_t) & @@ -547,29 +544,25 @@ class cow_function public: constexpr cow_function(nullptr_t = nullptr) noexcept - { - } + { } constexpr cow_function(const char* desc, simple_function* fptr) noexcept : m_desc(desc), m_fptr(fptr) - { - } + { } template cow_function(const refcnt_ptr& sptr) noexcept : m_sptr(sptr) - { - } + { } template cow_function(refcnt_ptr&& sptr) noexcept : m_sptr(::std::move(sptr)) - { - } + { } cow_function& operator=(nullptr_t) & diff --git a/asteria/llds/avmc_queue.hpp b/asteria/llds/avmc_queue.hpp index 714eaeb04..37e185256 100644 --- a/asteria/llds/avmc_queue.hpp +++ b/asteria/llds/avmc_queue.hpp @@ -29,8 +29,7 @@ class AVMC_Queue public: explicit constexpr AVMC_Queue() noexcept - { - } + { } AVMC_Queue(AVMC_Queue&& other) noexcept { diff --git a/asteria/llds/reference_dictionary.hpp b/asteria/llds/reference_dictionary.hpp index 8ecc2c31a..496fd8254 100644 --- a/asteria/llds/reference_dictionary.hpp +++ b/asteria/llds/reference_dictionary.hpp @@ -19,8 +19,7 @@ class Reference_Dictionary public: explicit constexpr Reference_Dictionary() noexcept - { - } + { } Reference_Dictionary(Reference_Dictionary&& other) noexcept { diff --git a/asteria/llds/reference_stack.hpp b/asteria/llds/reference_stack.hpp index 79dd81ef2..3e7d9cfa4 100644 --- a/asteria/llds/reference_stack.hpp +++ b/asteria/llds/reference_stack.hpp @@ -19,8 +19,7 @@ class Reference_Stack public: explicit constexpr Reference_Stack() noexcept - { - } + { } Reference_Stack(Reference_Stack&& other) noexcept { diff --git a/asteria/llds/variable_hashmap.hpp b/asteria/llds/variable_hashmap.hpp index de71af548..9d080ff23 100644 --- a/asteria/llds/variable_hashmap.hpp +++ b/asteria/llds/variable_hashmap.hpp @@ -20,8 +20,7 @@ class Variable_HashMap public: explicit constexpr Variable_HashMap() noexcept - { - } + { } Variable_HashMap(Variable_HashMap&& other) noexcept { diff --git a/asteria/recursion_sentry.hpp b/asteria/recursion_sentry.hpp index 7cd1fb9d7..ca1aee1f4 100644 --- a/asteria/recursion_sentry.hpp +++ b/asteria/recursion_sentry.hpp @@ -23,15 +23,13 @@ class Recursion_Sentry Recursion_Sentry() noexcept : m_base(this) - { - } + { } explicit constexpr Recursion_Sentry(const void* base) noexcept : m_base(base) - { - } + { } Recursion_Sentry(const Recursion_Sentry& other) // copy constructor : diff --git a/asteria/runtime/air_node.hpp b/asteria/runtime/air_node.hpp index 6366799bf..64d9a5490 100644 --- a/asteria/runtime/air_node.hpp +++ b/asteria/runtime/air_node.hpp @@ -343,8 +343,7 @@ class AIR_Node noexcept(::std::is_nothrow_constructible::value) : m_stor(::std::forward(xnode)) - { - } + { } template::value)> diff --git a/asteria/runtime/air_optimizer.hpp b/asteria/runtime/air_optimizer.hpp index 9c9818086..197ecd53a 100644 --- a/asteria/runtime/air_optimizer.hpp +++ b/asteria/runtime/air_optimizer.hpp @@ -20,8 +20,7 @@ class AIR_Optimizer AIR_Optimizer(const Compiler_Options& opts) noexcept : m_opts(opts) - { - } + { } public: ASTERIA_COPYABLE_DESTRUCTOR(AIR_Optimizer); diff --git a/asteria/runtime/analytic_context.hpp b/asteria/runtime/analytic_context.hpp index 9235bbf70..cf143b116 100644 --- a/asteria/runtime/analytic_context.hpp +++ b/asteria/runtime/analytic_context.hpp @@ -22,8 +22,7 @@ class Analytic_Context Analytic_Context(M_plain, Abstract_Context& parent) : m_parent_opt(&parent) - { - } + { } // A function context may have a parent. // Names found in ancestor contexts will be bound into the diff --git a/asteria/runtime/backtrace_frame.hpp b/asteria/runtime/backtrace_frame.hpp index c5e93ef30..87b720ee6 100644 --- a/asteria/runtime/backtrace_frame.hpp +++ b/asteria/runtime/backtrace_frame.hpp @@ -22,8 +22,7 @@ class Backtrace_Frame Backtrace_Frame(Frame_Type xtype, const Source_Location& xsloc, XValT&& xval) : m_type(xtype), m_sloc(xsloc), m_value(::std::forward(xval)) - { - } + { } public: Frame_Type diff --git a/asteria/runtime/executive_context.hpp b/asteria/runtime/executive_context.hpp index 99cd734d9..ef44fe59e 100644 --- a/asteria/runtime/executive_context.hpp +++ b/asteria/runtime/executive_context.hpp @@ -34,8 +34,7 @@ class Executive_Context : m_parent_opt(&parent), m_global(parent.m_global), m_stack(parent.m_stack), m_alt_stack(parent.m_alt_stack) - { - } + { } // A defer context is used to evaluate deferred expressions. // They are evaluated in separated contexts, as in case of proper tail calls, @@ -48,8 +47,7 @@ class Executive_Context : m_parent_opt(nullptr), m_global(&global), m_stack(&stack), m_alt_stack(&alt_stack), m_defer(::std::move(defer)) - { - } + { } // A function context has no parent. // The caller shall define a global context and evaluation stack, both of which diff --git a/asteria/runtime/garbage_collector.hpp b/asteria/runtime/garbage_collector.hpp index 9be0ee378..232cff9c1 100644 --- a/asteria/runtime/garbage_collector.hpp +++ b/asteria/runtime/garbage_collector.hpp @@ -29,8 +29,7 @@ class Garbage_Collector final public: explicit Garbage_Collector() noexcept - { - } + { } private: inline diff --git a/asteria/runtime/module_loader.hpp b/asteria/runtime/module_loader.hpp index b40adf978..d1ef12fc9 100644 --- a/asteria/runtime/module_loader.hpp +++ b/asteria/runtime/module_loader.hpp @@ -22,8 +22,7 @@ class Module_Loader final public: explicit Module_Loader() noexcept - { - } + { } private: locked_stream_pair* diff --git a/asteria/runtime/ptc_arguments.hpp b/asteria/runtime/ptc_arguments.hpp index 9c5d8a09d..fb4b5663a 100644 --- a/asteria/runtime/ptc_arguments.hpp +++ b/asteria/runtime/ptc_arguments.hpp @@ -32,8 +32,7 @@ class PTC_Arguments final const cow_function& target, Reference_Stack&& stack) : m_sloc(sloc), m_ptc(ptc), m_target(target), m_stack(::std::move(stack)) - { - } + { } public: ASTERIA_NONCOPYABLE_DESTRUCTOR(PTC_Arguments); diff --git a/asteria/runtime/reference.hpp b/asteria/runtime/reference.hpp index 9eaaa0adf..b57ae95b9 100644 --- a/asteria/runtime/reference.hpp +++ b/asteria/runtime/reference.hpp @@ -22,8 +22,7 @@ class Reference // Constructors and assignment operators constexpr Reference() noexcept - { - } + { } Reference(const Reference& other) noexcept : diff --git a/asteria/runtime/reference_modifier.hpp b/asteria/runtime/reference_modifier.hpp index ff36ea244..84353a5a3 100644 --- a/asteria/runtime/reference_modifier.hpp +++ b/asteria/runtime/reference_modifier.hpp @@ -61,8 +61,7 @@ class Reference_Modifier noexcept(::std::is_nothrow_constructible::value) : m_stor(::std::forward(xmod)) - { - } + { } template::value)> diff --git a/asteria/runtime/variable.hpp b/asteria/runtime/variable.hpp index 88043d817..9417db613 100644 --- a/asteria/runtime/variable.hpp +++ b/asteria/runtime/variable.hpp @@ -22,8 +22,7 @@ class Variable final public: explicit Variable() noexcept - { - } + { } public: ASTERIA_NONCOPYABLE_DESTRUCTOR(Variable); diff --git a/asteria/runtime/variadic_arguer.hpp b/asteria/runtime/variadic_arguer.hpp index fa5ec9e7e..b7bc19d90 100644 --- a/asteria/runtime/variadic_arguer.hpp +++ b/asteria/runtime/variadic_arguer.hpp @@ -24,15 +24,13 @@ class Variadic_Arguer final Variadic_Arguer(const Source_Location& xsloc, stringR xfunc) : m_sloc(xsloc), m_func(xfunc) - { - } + { } explicit Variadic_Arguer(const Variadic_Arguer& other, const cow_vector& xvargs) : m_sloc(other.m_sloc), m_func(other.m_func), m_vargs(xvargs) - { - } + { } public: const Source_Location& diff --git a/asteria/simple_script.hpp b/asteria/simple_script.hpp index c80c767c3..bc1d11b6d 100644 --- a/asteria/simple_script.hpp +++ b/asteria/simple_script.hpp @@ -22,8 +22,7 @@ class Simple_Script Simple_Script(API_Version version = api_version_latest) : m_global(version) - { - } + { } public: const Compiler_Options& diff --git a/asteria/source_location.hpp b/asteria/source_location.hpp index 482f0b279..9a52cb33e 100644 --- a/asteria/source_location.hpp +++ b/asteria/source_location.hpp @@ -18,14 +18,12 @@ class Source_Location Source_Location() noexcept : m_file(sref("[unknown]")), m_line(-1), m_column(-1) - { - } + { } Source_Location(stringR xfile, int xline, int xcolumn) noexcept : m_file(xfile), m_line(xline), m_column(xcolumn) - { - } + { } Source_Location& swap(Source_Location& other) noexcept diff --git a/asteria/value.hpp b/asteria/value.hpp index fc687aafe..9e48625e5 100644 --- a/asteria/value.hpp +++ b/asteria/value.hpp @@ -30,8 +30,7 @@ class Value Value(nullopt_t = nullopt) noexcept : m_bytes() - { - } + { } template::direct_init::value)> @@ -40,8 +39,7 @@ class Value typename details_value::Valuable::via_type&&>::value) : m_stor(typename details_value::Valuable::via_type(::std::forward(xval))) - { - } + { } template::direct_init::value)> @@ -68,8 +66,7 @@ class Value Value(const Value& other) noexcept : m_stor(other.m_stor) - { - } + { } Value& operator=(const Value& other) & noexcept @@ -81,8 +78,7 @@ class Value Value(Value&& other) noexcept : m_bytes(::rocket::exchange(other.m_bytes)) // HACK - { - } + { } Value& operator=(Value&& other) & noexcept diff --git a/rocket/atomic.hpp b/rocket/atomic.hpp index 31d2392c4..c999f70ab 100644 --- a/rocket/atomic.hpp +++ b/rocket/atomic.hpp @@ -24,15 +24,13 @@ class atomic atomic() noexcept : m_val(value_type()) - { - } + { } explicit atomic(value_type val) noexcept : m_val(val) - { - } + { } atomic(const atomic&) = delete; atomic& operator=(const atomic&) = delete; diff --git a/rocket/bit_mask.hpp b/rocket/bit_mask.hpp index 926d6891e..ce3802dc5 100644 --- a/rocket/bit_mask.hpp +++ b/rocket/bit_mask.hpp @@ -24,8 +24,7 @@ class bit_mask public: constexpr bit_mask() noexcept - { - } + { } constexpr bit_mask(initializer_list indices) noexcept diff --git a/rocket/cow_hashmap.hpp b/rocket/cow_hashmap.hpp index d7cbc474c..34526dce6 100644 --- a/rocket/cow_hashmap.hpp +++ b/rocket/cow_hashmap.hpp @@ -82,8 +82,7 @@ class cow_hashmap is_nothrow_constructible>::value) : m_sth() - { - } + { } explicit constexpr cow_hashmap(const allocator_type& alloc, const hasher& hf = hasher(), @@ -94,8 +93,7 @@ class cow_hashmap is_nothrow_copy_constructible>::value) : m_sth(alloc, hf, eq) - { - } + { } cow_hashmap(const cow_hashmap& other) noexcept(conjunction, @@ -153,8 +151,7 @@ class cow_hashmap cow_hashmap(size_type res_arg, const hasher& hf, const allocator_type& alloc) : cow_hashmap(res_arg, hf, key_equal(), alloc) - { - } + { } template::value)> @@ -162,35 +159,30 @@ class cow_hashmap const allocator_type& alloc) : cow_hashmap(::std::move(first), ::std::move(last), res_arg, hf, key_equal(), alloc) - { - } + { } cow_hashmap(initializer_list init, size_type res_arg, const hasher& hf, const allocator_type& alloc) : cow_hashmap(init, res_arg, hf, key_equal(), alloc) - { - } + { } cow_hashmap(size_type res_arg, const allocator_type& alloc) : cow_hashmap(res_arg, hasher(), key_equal(), alloc) - { - } + { } template::value)> cow_hashmap(inputT first, inputT last, size_type res_arg, const allocator_type& alloc) : cow_hashmap(::std::move(first), ::std::move(last), res_arg, hasher(), key_equal(), alloc) - { - } + { } cow_hashmap(initializer_list init, size_type res_arg, const allocator_type& alloc) : cow_hashmap(init, res_arg, hasher(), key_equal(), alloc) - { - } + { } cow_hashmap& operator=(const cow_hashmap& other) & noexcept diff --git a/rocket/cow_string.hpp b/rocket/cow_string.hpp index 8fd4c14ac..750b5efa6 100644 --- a/rocket/cow_string.hpp +++ b/rocket/cow_string.hpp @@ -58,8 +58,7 @@ class basic_shallow_string basic_shallow_string(const charT* ptr) noexcept : m_ptr(ptr), m_len(noadl::xstrlen(ptr)) - { - } + { } public: constexpr @@ -151,22 +150,19 @@ class basic_cow_string basic_cow_string() noexcept(is_nothrow_constructible::value) : m_ref(s_zstr), m_sth() - { - } + { } explicit constexpr basic_cow_string(const allocator_type& alloc) noexcept : m_ref(s_zstr), m_sth(alloc) - { - } + { } constexpr basic_cow_string(shallow_type sh, const allocator_type& alloc = allocator_type()) noexcept : m_ref(sh), m_sth(alloc) - { - } + { } basic_cow_string(const basic_cow_string& other) noexcept : diff --git a/rocket/cow_vector.hpp b/rocket/cow_vector.hpp index 6db85d6b8..9ea121398 100644 --- a/rocket/cow_vector.hpp +++ b/rocket/cow_vector.hpp @@ -59,15 +59,13 @@ class cow_vector cow_vector() noexcept(is_nothrow_constructible::value) : m_sth() - { - } + { } explicit constexpr cow_vector(const allocator_type& alloc) noexcept : m_sth(alloc) - { - } + { } cow_vector(const cow_vector& other) noexcept : diff --git a/rocket/details/cow_hashmap.ipp b/rocket/details/cow_hashmap.ipp index 0db65f130..2ca536382 100644 --- a/rocket/details/cow_hashmap.ipp +++ b/rocket/details/cow_hashmap.ipp @@ -24,8 +24,7 @@ struct ebo_placeholder template constexpr ebo_placeholder(noopT&&) noexcept - { - } + { } }; template @@ -374,8 +373,7 @@ class storage_handle allocator_base(), ebo_select(), ebo_select() - { - } + { } constexpr storage_handle(const allocator_type& alloc, const hasher& hf, const key_equal& eq) @@ -383,8 +381,7 @@ class storage_handle allocator_base(alloc), ebo_select(hf), ebo_select(eq) - { - } + { } constexpr storage_handle(allocator_type&& alloc, const hasher& hf, const key_equal& eq) @@ -392,8 +389,7 @@ class storage_handle allocator_base(::std::move(alloc)), ebo_select(hf), ebo_select(eq) - { - } + { } #ifdef __cpp_constexpr_dynamic_alloc constexpr @@ -839,8 +835,7 @@ class hashmap_iterator hashmap_iterator() noexcept : m_begin(), m_cur(), m_end() - { - } + { } template::value)> @@ -850,8 +845,7 @@ class hashmap_iterator m_begin(other.m_begin), m_cur(other.m_cur), m_end(other.m_end) - { - } + { } template::value)> diff --git a/rocket/details/cow_string.ipp b/rocket/details/cow_string.ipp index c19213291..7c0170cdb 100644 --- a/rocket/details/cow_string.ipp +++ b/rocket/details/cow_string.ipp @@ -87,22 +87,19 @@ class storage_handle storage_handle() noexcept : allocator_base() - { - } + { } explicit constexpr storage_handle(const allocator_type& alloc) noexcept : allocator_base(alloc) - { - } + { } explicit constexpr storage_handle(allocator_type&& alloc) noexcept : allocator_base(::std::move(alloc)) - { - } + { } #ifdef __cpp_constexpr_dynamic_alloc constexpr @@ -307,16 +304,14 @@ class string_iterator string_iterator(charT* begin, size_t ncur, size_t nend) noexcept : m_begin(begin), m_cur(begin + ncur), m_end(begin + nend) - { - } + { } public: constexpr string_iterator() noexcept : m_begin(), m_cur(), m_end() - { - } + { } template::value)> @@ -326,8 +321,7 @@ class string_iterator m_begin(other.m_begin), m_cur(other.m_cur), m_end(other.m_end) - { - } + { } template::value)> diff --git a/rocket/details/cow_vector.ipp b/rocket/details/cow_vector.ipp index 89d3b9cd7..c03fee9fc 100644 --- a/rocket/details/cow_vector.ipp +++ b/rocket/details/cow_vector.ipp @@ -211,22 +211,19 @@ class storage_handle storage_handle() noexcept(is_nothrow_constructible::value) : allocator_base() - { - } + { } explicit constexpr storage_handle(const allocator_type& alloc) noexcept : allocator_base(alloc) - { - } + { } explicit constexpr storage_handle(allocator_type&& alloc) noexcept : allocator_base(::std::move(alloc)) - { - } + { } #ifdef __cpp_constexpr_dynamic_alloc constexpr @@ -531,16 +528,14 @@ class vector_iterator vector_iterator(valueT* begin, size_t ncur, size_t nend) noexcept : m_begin(begin), m_cur(begin + ncur), m_end(begin + nend) - { - } + { } public: constexpr vector_iterator() noexcept : m_begin(), m_cur(), m_end() - { - } + { } template::value)> @@ -550,8 +545,7 @@ class vector_iterator m_begin(other.m_begin), m_cur(other.m_cur), m_end(other.m_end) - { - } + { } template::value)> diff --git a/rocket/details/fwd.ipp b/rocket/details/fwd.ipp index ae8103ba9..f93c0fa12 100644 --- a/rocket/details/fwd.ipp +++ b/rocket/details/fwd.ipp @@ -120,15 +120,13 @@ struct binder_eq binder_eq(const valueT& xval) noexcept(is_nothrow_copy_constructible::value) : m_val(xval) - { - } + { } constexpr binder_eq(valueT&& xval) noexcept(is_nothrow_move_constructible::value) : m_val(::std::move(xval)) - { - } + { } template constexpr @@ -146,15 +144,13 @@ struct binder_ne binder_ne(const valueT& xval) noexcept(is_nothrow_copy_constructible::value) : m_val(xval) - { - } + { } constexpr binder_ne(valueT&& xval) noexcept(is_nothrow_move_constructible::value) : m_val(::std::move(xval)) - { - } + { } template constexpr diff --git a/rocket/details/linear_buffer.ipp b/rocket/details/linear_buffer.ipp index 3d8b908d7..d07780ce4 100644 --- a/rocket/details/linear_buffer.ipp +++ b/rocket/details/linear_buffer.ipp @@ -29,22 +29,19 @@ class basic_storage basic_storage() noexcept(is_nothrow_constructible::value) : allocator_base() - { - } + { } explicit constexpr basic_storage(const allocator_type& alloc) noexcept : allocator_base(alloc) - { - } + { } explicit constexpr basic_storage(allocator_type&& alloc) noexcept : allocator_base(::std::move(alloc)) - { - } + { } ~basic_storage() { this->deallocate(); } diff --git a/rocket/details/prehashed_string.ipp b/rocket/details/prehashed_string.ipp index a556fd258..e89a6ab10 100644 --- a/rocket/details/prehashed_string.ipp +++ b/rocket/details/prehashed_string.ipp @@ -34,8 +34,7 @@ class string_storage key_equal_base(eq), m_str(::std::forward(params)...), m_hval(this->as_hasher()(this->m_str)) - { - } + { } string_storage(const string_storage&) = delete; string_storage& operator=(const string_storage&) = delete; diff --git a/rocket/details/refcnt_ptr.ipp b/rocket/details/refcnt_ptr.ipp index 1f88b845a..ebe27811b 100644 --- a/rocket/details/refcnt_ptr.ipp +++ b/rocket/details/refcnt_ptr.ipp @@ -52,15 +52,13 @@ class stored_pointer stored_pointer() noexcept : m_ptr() - { - } + { } explicit constexpr stored_pointer(pointer ptr) noexcept : m_ptr(::std::move(ptr)) - { - } + { } ~stored_pointer() { this->reset(nullptr); } diff --git a/rocket/details/static_vector.ipp b/rocket/details/static_vector.ipp index e625643f8..4e06e7c7c 100644 --- a/rocket/details/static_vector.ipp +++ b/rocket/details/static_vector.ipp @@ -46,8 +46,7 @@ class storage_handle : allocator_base(), m_init_nelem(0) - { - } + { } explicit storage_handle(const allocator_type& alloc) noexcept @@ -294,16 +293,14 @@ class vector_iterator vector_iterator(valueT* begin, size_t ncur, size_t nend) noexcept : m_begin(begin), m_cur(begin + ncur), m_end(begin + nend) - { - } + { } public: constexpr vector_iterator() noexcept : m_begin(), m_cur(), m_end() - { - } + { } template::value)> @@ -313,8 +310,7 @@ class vector_iterator m_begin(other.m_begin), m_cur(other.m_cur), m_end(other.m_end) - { - } + { } template::value)> diff --git a/rocket/details/unique_handle.ipp b/rocket/details/unique_handle.ipp index 21edecf77..e1c04d9f9 100644 --- a/rocket/details/unique_handle.ipp +++ b/rocket/details/unique_handle.ipp @@ -27,8 +27,7 @@ class stored_handle : closer_base(), m_hv(this->as_closer().null()) - { - } + { } template explicit constexpr @@ -90,8 +89,7 @@ class default_closer_wrapper default_closer_wrapper(closerT&& xcl) : m_cl(::std::forward(xcl)) - { - } + { } public: constexpr diff --git a/rocket/details/unique_ptr.ipp b/rocket/details/unique_ptr.ipp index 8d202b789..3895545e9 100644 --- a/rocket/details/unique_ptr.ipp +++ b/rocket/details/unique_ptr.ipp @@ -29,8 +29,7 @@ struct deleter_reference deleter_reference(deleterT& del) noexcept : m_del(::std::addressof(del)) - { - } + { } constexpr operator deleterT&() const noexcept @@ -63,15 +62,13 @@ class stored_pointer_impl stored_pointer_impl() noexcept : m_del(), m_ptr() - { - } + { } explicit constexpr stored_pointer_impl(pointer ptr, deleter_type del = nullptr) noexcept : m_del(del), m_ptr(::std::move(ptr)) - { - } + { } ~stored_pointer_impl() { this->reset(nullptr); } @@ -129,8 +126,7 @@ class stored_pointer_impl stored_pointer_impl() noexcept(is_nothrow_constructible::value) : deleter_base(), m_ptr() - { - } + { } template explicit constexpr @@ -138,8 +134,7 @@ class stored_pointer_impl noexcept(is_nothrow_constructible::value) : deleter_base(::std::forward(dparams)...), m_ptr(::std::move(ptr)) - { - } + { } ~stored_pointer_impl() { this->reset(nullptr); } @@ -197,8 +192,7 @@ class stored_pointer_impl stored_pointer_impl(pointer ptr, deleterT& del) noexcept : deleter_base(del), m_ptr(::std::move(ptr)) - { - } + { } ~stored_pointer_impl() { this->reset(nullptr); } diff --git a/rocket/details/xallocator.ipp b/rocket/details/xallocator.ipp index dc73a3900..6e94ce189 100644 --- a/rocket/details/xallocator.ipp +++ b/rocket/details/xallocator.ipp @@ -19,8 +19,7 @@ class final_wrapper noexcept(is_nothrow_constructible::value) : m_alloc(::std::forward(params)...) - { - } + { } public: constexpr operator diff --git a/rocket/format.hpp b/rocket/format.hpp index 6944124db..712c7f3bb 100644 --- a/rocket/format.hpp +++ b/rocket/format.hpp @@ -21,15 +21,13 @@ struct basic_formatter basic_formatter() noexcept : ifunc(nullptr), param(nullptr) - { - } + { } constexpr basic_formatter(callback_type* xifunc, const void* xparam) noexcept : ifunc(xifunc), param(xparam) - { - } + { } // Format the given value with `operator<<` via argument-dependent lookup. template diff --git a/rocket/linear_buffer.hpp b/rocket/linear_buffer.hpp index e93ad9200..7071f4db5 100644 --- a/rocket/linear_buffer.hpp +++ b/rocket/linear_buffer.hpp @@ -42,15 +42,13 @@ class basic_linear_buffer basic_linear_buffer() noexcept(is_nothrow_constructible::value) : m_stor() - { - } + { } explicit constexpr basic_linear_buffer(const allocator_type& alloc) noexcept : m_stor(alloc) - { - } + { } basic_linear_buffer(const basic_linear_buffer& other) : diff --git a/rocket/optional.hpp b/rocket/optional.hpp index 35e5c42ec..147507245 100644 --- a/rocket/optional.hpp +++ b/rocket/optional.hpp @@ -36,8 +36,7 @@ class optional // 19.6.3.1, constructors constexpr optional(nullopt_t = nullopt) noexcept - { - } + { } optional(const value_type& value) noexcept(is_nothrow_copy_constructible::value) diff --git a/rocket/prehashed_string.hpp b/rocket/prehashed_string.hpp index aba3d5a30..124c859ea 100644 --- a/rocket/prehashed_string.hpp +++ b/rocket/prehashed_string.hpp @@ -55,8 +55,7 @@ class basic_prehashed_string is_nothrow_copy_constructible>::value) : m_sth(hasher(), key_equal()) - { - } + { } template explicit constexpr @@ -66,8 +65,7 @@ class basic_prehashed_string is_nothrow_copy_constructible>::value) : m_sth(hf, eq, ::std::forward(params)...) - { - } + { } explicit constexpr basic_prehashed_string(const string_type& str, const hasher& hf = hasher(), @@ -77,8 +75,7 @@ class basic_prehashed_string is_nothrow_copy_constructible>::value) : m_sth(hf, eq, str) - { - } + { } constexpr basic_prehashed_string(string_type&& str, const hasher& hf = hasher(), @@ -88,8 +85,7 @@ class basic_prehashed_string is_nothrow_copy_constructible>::value) : m_sth(hf, eq, ::std::move(str)) - { - } + { } template::value)> @@ -101,8 +97,7 @@ class basic_prehashed_string is_nothrow_copy_constructible>::value) : m_sth(hf, eq, xstr) - { - } + { } template::value)> @@ -114,16 +109,14 @@ class basic_prehashed_string is_nothrow_copy_constructible>::value) : m_sth(hf, eq, ::std::forward(xstr)) - { - } + { } constexpr basic_prehashed_string(initializer_list init, const hasher& hf = hasher(), const key_equal& eq = key_equal()) : m_sth(hf, eq, init) - { - } + { } basic_prehashed_string(const basic_prehashed_string& other) noexcept(conjunction, diff --git a/rocket/refcnt_ptr.hpp b/rocket/refcnt_ptr.hpp index aeb31a036..b75057701 100644 --- a/rocket/refcnt_ptr.hpp +++ b/rocket/refcnt_ptr.hpp @@ -115,15 +115,13 @@ class refcnt_ptr refcnt_ptr(nullptr_t = nullptr) noexcept : m_sth() - { - } + { } explicit constexpr refcnt_ptr(pointer ptr) noexcept : m_sth(ptr) - { - } + { } template::pointer, @@ -131,8 +129,7 @@ class refcnt_ptr refcnt_ptr(const refcnt_ptr& other) noexcept : m_sth(other.m_sth.fork()) - { - } + { } template::pointer, @@ -140,20 +137,17 @@ class refcnt_ptr refcnt_ptr(refcnt_ptr&& other) noexcept : m_sth(other.m_sth.release()) - { - } + { } refcnt_ptr(const refcnt_ptr& other) noexcept : m_sth(other.m_sth.fork()) - { - } + { } refcnt_ptr(refcnt_ptr&& other) noexcept : m_sth(other.m_sth.release()) - { - } + { } refcnt_ptr& operator=(nullptr_t) & noexcept diff --git a/rocket/reference_counter.hpp b/rocket/reference_counter.hpp index 4d6967a34..aedc79a94 100644 --- a/rocket/reference_counter.hpp +++ b/rocket/reference_counter.hpp @@ -27,22 +27,19 @@ class reference_counter reference_counter() noexcept : m_nref(1) - { - } + { } explicit constexpr reference_counter(value_type nref) noexcept : m_nref(nref) - { - } + { } constexpr reference_counter(const reference_counter&) noexcept : reference_counter() - { - } + { } reference_counter& operator=(const reference_counter&) & noexcept diff --git a/rocket/reference_wrapper.hpp b/rocket/reference_wrapper.hpp index 794f37b05..81bfb4c57 100644 --- a/rocket/reference_wrapper.hpp +++ b/rocket/reference_wrapper.hpp @@ -31,8 +31,7 @@ class reference_wrapper reference_wrapper(otherT& other) noexcept : m_ptr(::std::addressof(other)) - { - } + { } template::value)> @@ -40,8 +39,7 @@ class reference_wrapper reference_wrapper(const reference_wrapper& other) noexcept : m_ptr(other.m_ptr) - { - } + { } public: // access diff --git a/rocket/static_vector.hpp b/rocket/static_vector.hpp index 67cba6dee..e8d347432 100644 --- a/rocket/static_vector.hpp +++ b/rocket/static_vector.hpp @@ -54,15 +54,13 @@ class static_vector static_vector() noexcept(is_nothrow_constructible::value) : m_sth() - { - } + { } explicit static_vector(const allocator_type& alloc) noexcept : m_sth(alloc) - { - } + { } static_vector(const static_vector& other) noexcept(is_nothrow_copy_constructible::value) diff --git a/rocket/tinybuf_file.hpp b/rocket/tinybuf_file.hpp index 2c4a7cd6a..4b58fafa5 100644 --- a/rocket/tinybuf_file.hpp +++ b/rocket/tinybuf_file.hpp @@ -36,22 +36,19 @@ class basic_tinybuf_file public: constexpr basic_tinybuf_file() noexcept - { - } + { } explicit basic_tinybuf_file(file_type&& file) noexcept : m_file(::std::move(file)) - { - } + { } explicit basic_tinybuf_file(handle_type fp, closer_type cl) noexcept : m_file(fp, cl) - { - } + { } explicit basic_tinybuf_file(const char* path, open_mode mode) @@ -67,8 +64,7 @@ class basic_tinybuf_file m_file(::std::move(other.m_file)), m_mbst_g(noadl::exchange(other.m_mbst_g)), m_mbst_p(noadl::exchange(other.m_mbst_p)) - { - } + { } basic_tinybuf_file& operator=(basic_tinybuf_file&& other) & diff --git a/rocket/tinybuf_ln.hpp b/rocket/tinybuf_ln.hpp index 8b915b4a3..f33c9d3f7 100644 --- a/rocket/tinybuf_ln.hpp +++ b/rocket/tinybuf_ln.hpp @@ -31,8 +31,7 @@ class basic_tinybuf_ln basic_tinybuf_ln(const allocator_type& alloc) noexcept : m_ln(alloc) - { - } + { } constexpr basic_tinybuf_ln() noexcept(is_nothrow_default_constructible::value) { } @@ -41,8 +40,7 @@ class basic_tinybuf_ln basic_tinybuf_ln(open_mode mode, const allocator_type& alloc = allocator_type()) noexcept : m_ln(alloc), m_mode(mode) - { - } + { } template::value)> @@ -51,8 +49,7 @@ class basic_tinybuf_ln noexcept(is_nothrow_constructible::value) : m_ln(::std::forward(xln), alloc), m_mode(mode) - { - } + { } // The copy and move constructors are necessary because `basic_tinybuf` // is not move-constructible. @@ -60,14 +57,12 @@ class basic_tinybuf_ln noexcept(is_nothrow_copy_constructible::value) : tinybuf_type(), m_ln(other.m_ln), m_mode(other.m_mode) - { - } + { } basic_tinybuf_ln(const basic_tinybuf_ln& other, const allocator_type& alloc) noexcept : m_ln(other.m_ln, alloc), m_mode(other.m_mode) - { - } + { } basic_tinybuf_ln& operator=(const basic_tinybuf_ln& other) & @@ -82,14 +77,12 @@ class basic_tinybuf_ln noexcept(is_nothrow_move_constructible::value) : tinybuf_type(), m_ln(::std::move(other.m_ln)), m_mode(noadl::exchange(other.m_mode)) - { - } + { } basic_tinybuf_ln(basic_tinybuf_ln&& other, const allocator_type& alloc) noexcept : m_ln(::std::move(other.m_ln), alloc), m_mode(noadl::exchange(other.m_mode)) - { - } + { } basic_tinybuf_ln& operator=(basic_tinybuf_ln& other) && diff --git a/rocket/tinybuf_str.hpp b/rocket/tinybuf_str.hpp index 4b082952d..4c06fc299 100644 --- a/rocket/tinybuf_str.hpp +++ b/rocket/tinybuf_str.hpp @@ -32,8 +32,7 @@ class basic_tinybuf_str basic_tinybuf_str(const allocator_type& alloc) noexcept : m_str(alloc) - { - } + { } constexpr basic_tinybuf_str() noexcept(is_nothrow_default_constructible::value) { } @@ -42,8 +41,7 @@ class basic_tinybuf_str basic_tinybuf_str(open_mode mode, const allocator_type& alloc = allocator_type()) noexcept : m_str(alloc), m_mode(mode) - { - } + { } template::value)> @@ -52,8 +50,7 @@ class basic_tinybuf_str noexcept(is_nothrow_constructible::value) : m_str(::std::forward(xstr), alloc), m_mode(mode) - { - } + { } // The copy and move constructors are necessary because `basic_tinybuf` // is not move-constructible. @@ -61,14 +58,12 @@ class basic_tinybuf_str noexcept(is_nothrow_copy_constructible::value) : tinybuf_type(), m_str(other.m_str), m_off(other.m_off), m_mode(other.m_mode) - { - } + { } basic_tinybuf_str(const basic_tinybuf_str& other, const allocator_type& alloc) noexcept : m_str(other.m_str, alloc), m_off(other.m_off), m_mode(other.m_mode) - { - } + { } basic_tinybuf_str& operator=(const basic_tinybuf_str& other) & diff --git a/rocket/tinyfmt_file.hpp b/rocket/tinyfmt_file.hpp index 618d2eff0..4bd12ffed 100644 --- a/rocket/tinyfmt_file.hpp +++ b/rocket/tinyfmt_file.hpp @@ -32,8 +32,7 @@ class basic_tinyfmt_file // default-constructed. basic_tinyfmt_file() noexcept(is_nothrow_default_constructible::value) - { - } + { } template::value)> @@ -42,8 +41,7 @@ class basic_tinyfmt_file noexcept(is_nothrow_constructible::value) : m_buf(::std::forward(params)...) - { - } + { } basic_tinyfmt_file& swap(basic_tinyfmt_file& other) diff --git a/rocket/tinyfmt_ln.hpp b/rocket/tinyfmt_ln.hpp index 35ef2c10a..33080da7b 100644 --- a/rocket/tinyfmt_ln.hpp +++ b/rocket/tinyfmt_ln.hpp @@ -31,8 +31,7 @@ class basic_tinyfmt_ln // default-constructed. basic_tinyfmt_ln() noexcept(is_nothrow_default_constructible::value) - { - } + { } template::value)> @@ -41,8 +40,7 @@ class basic_tinyfmt_ln noexcept(is_nothrow_constructible::value) : m_buf(::std::forward(params)...) - { - } + { } basic_tinyfmt_ln& swap(basic_tinyfmt_ln& other) diff --git a/rocket/tinyfmt_str.hpp b/rocket/tinyfmt_str.hpp index ddd0ae74a..64e52ea32 100644 --- a/rocket/tinyfmt_str.hpp +++ b/rocket/tinyfmt_str.hpp @@ -31,8 +31,7 @@ class basic_tinyfmt_str // default-constructed. basic_tinyfmt_str() noexcept(is_nothrow_default_constructible::value) - { - } + { } template::value)> @@ -41,8 +40,7 @@ class basic_tinyfmt_str noexcept(is_nothrow_constructible::value) : m_buf(::std::forward(params)...) - { - } + { } basic_tinyfmt_str& swap(basic_tinyfmt_str& other) diff --git a/rocket/unique_handle.hpp b/rocket/unique_handle.hpp index 19e05769a..a7031bfd9 100644 --- a/rocket/unique_handle.hpp +++ b/rocket/unique_handle.hpp @@ -49,41 +49,35 @@ class unique_handle unique_handle() noexcept(is_nothrow_constructible::value) : m_sth() - { - } + { } explicit constexpr unique_handle(const closer_type& cl) noexcept : m_sth(cl.null(), cl) - { - } + { } explicit constexpr unique_handle(handle_type hv) noexcept(is_nothrow_constructible::value) : m_sth(::std::move(hv)) - { - } + { } constexpr unique_handle(handle_type hv, const closer_type& cl) noexcept : m_sth(::std::move(hv), cl) - { - } + { } unique_handle(unique_handle&& other) noexcept : unique_handle(other.m_sth.release(), ::std::move(other.m_sth.as_closer())) - { - } + { } unique_handle(unique_handle&& other, const closer_type& cl) noexcept : unique_handle(other.m_sth.release(), cl) - { - } + { } // 23.11.1.2.3, assignment unique_handle& diff --git a/rocket/unique_posix_dir.hpp b/rocket/unique_posix_dir.hpp index fa6dd0634..6a7aeaf21 100644 --- a/rocket/unique_posix_dir.hpp +++ b/rocket/unique_posix_dir.hpp @@ -22,15 +22,13 @@ class posix_dir_closer posix_dir_closer() noexcept : m_cl(::closedir) - { - } + { } constexpr posix_dir_closer(closer_type cl) noexcept : m_cl(cl) - { - } + { } public: constexpr operator diff --git a/rocket/unique_posix_fd.hpp b/rocket/unique_posix_fd.hpp index adfda51bf..b8ae63251 100644 --- a/rocket/unique_posix_fd.hpp +++ b/rocket/unique_posix_fd.hpp @@ -22,15 +22,13 @@ class posix_fd_closer posix_fd_closer() noexcept : m_cl(::close) - { - } + { } constexpr posix_fd_closer(closer_type cl) noexcept : m_cl(cl) - { - } + { } public: constexpr operator diff --git a/rocket/unique_posix_file.hpp b/rocket/unique_posix_file.hpp index 3cb18b1bc..32b3b9453 100644 --- a/rocket/unique_posix_file.hpp +++ b/rocket/unique_posix_file.hpp @@ -22,15 +22,13 @@ class posix_file_closer posix_file_closer() noexcept : m_cl(::fclose) - { - } + { } constexpr posix_file_closer(closer_type cl) noexcept : m_cl(cl) - { - } + { } public: constexpr operator diff --git a/rocket/unique_ptr.hpp b/rocket/unique_ptr.hpp index 0aa0311ed..1b4a48fc7 100644 --- a/rocket/unique_ptr.hpp +++ b/rocket/unique_ptr.hpp @@ -39,29 +39,25 @@ class unique_ptr unique_ptr(nullptr_t = nullptr) noexcept(is_nothrow_constructible::value) : m_sth() - { - } + { } explicit constexpr unique_ptr(const deleter_type& del) noexcept : m_sth(nullptr, del) - { - } + { } explicit constexpr unique_ptr(pointer ptr) noexcept(is_nothrow_constructible::value) : m_sth(ptr) - { - } + { } constexpr unique_ptr(pointer ptr, const deleter_type& del) noexcept : m_sth(ptr, del) - { - } + { } template::pointer, pointer>::value), @@ -69,20 +65,17 @@ class unique_ptr unique_ptr(unique_ptr&& other) noexcept : m_sth(other.m_sth.release(), ::std::move(other.m_sth.as_deleter())) - { - } + { } unique_ptr(unique_ptr&& other) noexcept : m_sth(other.m_sth.release(), ::std::move(other.m_sth.as_deleter())) - { - } + { } unique_ptr(unique_ptr&& other, const deleter_type& del) noexcept : m_sth(other.m_sth.release(), del) - { - } + { } // 23.11.1.2.3, assignment unique_ptr& diff --git a/rocket/variant.hpp b/rocket/variant.hpp index 6ee64abc5..57a8a782a 100644 --- a/rocket/variant.hpp +++ b/rocket/variant.hpp @@ -79,8 +79,7 @@ class variant variant() noexcept(is_nothrow_constructible::type>::value) : m_init_stor(), m_init_index() - { - } + { } template::type>::value)>