Changeset e6c9fa6 in mainline
- Timestamp:
- 2018-07-05T21:41:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2b55ac9
- Parents:
- 289b2dd
- git-author:
- Jaroslav Jindrak <dzejrou@…> (2017-10-15 19:59:31)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/memory.hpp
r289b2dd re6c9fa6 293 293 } 294 294 295 const_pointer _addressaddress(const_reference x) const noexcept295 const_pointer address(const_reference x) const noexcept 296 296 { // TODO: see std::addressof 297 297 return &x; … … 394 394 for (; first != last; ++first) 395 395 ::new (static_cast<void*>(&*first)) typename iterator_traits<ForwardIterator>::value_type(x); 396 397 return result; 398 } 399 400 template<class ForwardIterator, class Size> 396 } 397 398 template<class ForwardIterator, class Size, class T> 401 399 ForwardIterator unitialized_fill_n( 402 400 ForwardIterator first, Size n, const T& x … … 406 404 ::new (static_cast<void*>(&*first)) typename iterator_traits<ForwardIterator>::value_type(x); 407 405 408 return result;406 return first; 409 407 } 410 408 }
Note:
See TracChangeset
for help on using the changeset viewer.