Changeset 2f42718 for src/Common
- Timestamp:
- Feb 22, 2019, 10:43:29 AM (7 years ago)
- Branches:
- no_list
- Parents:
- 43e0949
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/utility.h
r43e0949 r2f42718 497 497 } 498 498 499 // ----------------------------------------------------------------------------- 500 /// Simple ranged-base standard algorithms 501 namespace std { 502 template< typename range, typename out > 503 static inline auto move( range & r, out o ) -> decltype(std::move( std::begin(r), std::end(r), o )) { 504 return std::move( std::begin(r), std::end(r), o ); 505 } 506 507 template< typename range, typename out > 508 static inline auto copy( range & r, out o ) -> decltype(std::copy( std::begin(r), std::end(r), o )) { 509 return std::copy( std::begin(r), std::end(r), o ); 510 } 511 } 512 499 513 // Local Variables: // 500 514 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.