Skip to content

Commit

Permalink
using std:: ptrdiff_t, size_t moved from range_traits.h
Browse files Browse the repository at this point in the history
size_t needed by allocator
  • Loading branch information
OleErikPeistorpet committed Jun 10, 2024
1 parent fcba8f5 commit e1e3bdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions auxi/core_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
namespace oel
{

using std::ptrdiff_t;
using std::size_t;


//! Declare an overload to declare a type trivially relocatable. See is_trivially_relocatable
template< typename T >
bool_constant< std::is_trivially_move_constructible_v<T> and std::is_trivially_destructible_v<T> >
Expand Down
4 changes: 0 additions & 4 deletions auxi/range_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ namespace _detail
}


using std::ptrdiff_t;
using std::size_t;


using std::begin; using std::end;


Expand Down

0 comments on commit e1e3bdb

Please sign in to comment.