Skip to content

Commit b54e998

Browse files
committed
nicer format
1 parent 5e15ed8 commit b54e998

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

include/boost/multi/array_ref.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,14 +383,15 @@ struct array_types : private Layout { // cppcheck-suppress syntaxError ; false
383383
protected:
384384
template<
385385
class ArrayTypes,
386-
typename = std::enable_if_t<!std::is_base_of<array_types, std::decay_t<ArrayTypes>>{}>, decltype(multi::detail::explicit_cast<element_ptr>(std::declval<ArrayTypes const&>().base_))* = nullptr>
386+
typename = std::enable_if_t<!std::is_base_of<array_types, std::decay_t<ArrayTypes>>{}>,
387+
decltype(multi::detail::explicit_cast<element_ptr>(std::declval<ArrayTypes const&>().base_))* = nullptr>
387388
// underlying pointers are explicitly convertible
388389
BOOST_MULTI_HD constexpr explicit array_types(ArrayTypes const& other)
389390
: Layout{other.layout()}, base_{other.base_} {}
390391

391392
template<
392393
class ArrayTypes,
393-
typename = std::enable_if_t<!std::is_base_of<array_types, std::decay_t<ArrayTypes>>{}>,
394+
typename = std::enable_if_t<!std::is_base_of<array_types, std::decay_t<ArrayTypes>>{}>,
394395
decltype(multi::detail::implicit_cast<element_ptr>(std::declval<ArrayTypes const&>().base_))* = nullptr>
395396
// cppcheck-suppress noExplicitConstructor ; because underlying pointers are implicitly convertible
396397
BOOST_MULTI_HD constexpr /*implt*/ array_types(ArrayTypes const& other) // NOLINT(google-explicit-constructor,hicpp-explicit-conversions,cppcoreguidelines-explicit-constructor,misc-explicit-constructor) : inherit behavior of underlying pointer

0 commit comments

Comments
 (0)