Changeset 4a8d37c6 in mainline
- Timestamp:
- 2018-07-05T21:41:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 604038c
- Parents:
- 1d50d70
- git-author:
- Jaroslav Jindrak <dzejrou@…> (2017-10-23 16:44:23)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/array.hpp
r1d50d70 r4a8d37c6 63 63 void fill(const T& x) 64 64 { 65 // TODO: implement with fill_n when possible65 fill_n(begin(), N, x); 66 66 } 67 67 68 68 void swap(array& other) noexcept(noexcept(swap(declval<T&>(), declval<T&>()))) 69 69 { 70 // TODO: implement with swap_ranges when possible70 swap_ranges(begin(), end(), other.begin()); 71 71 } 72 72
Note:
See TracChangeset
for help on using the changeset viewer.