Skip to content

Commit

Permalink
[skip-ci]: change whitespace and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed May 20, 2024
1 parent 80ddc1a commit 2e50128
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/nonstd/ring.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ template< typename T, std::size_t N >
T * end( T (&array)[N] ) { return &array[N]; }

} // namespace std11

template< class Q >
struct is_array : std11::false_type {};

Expand Down Expand Up @@ -110,6 +111,8 @@ class ring
typedef typename RingSpan::const_reverse_iterator const_reverse_iterator;
#endif

// construct from C-Array, std::array:

nsrs_REQUIRES_0((
is_array<Container>::value
|| is_std_array<Container>::value
Expand All @@ -119,7 +122,8 @@ class ring
, rs( std11::begin(cont), std11::end(cont) )
{}

// non C-Array, non std::array
// construct from container not being C-Array or std::array:

nsrs_REQUIRES_0((
!is_array<Container>::value
&& !is_std_array<Container>::value
Expand Down

0 comments on commit 2e50128

Please sign in to comment.