Changeset 9594c0c6 in mainline
- Timestamp:
- 2018-07-05T21:41:21Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 420ebf2
- Parents:
- 41bd6ec
- git-author:
- Dzejrou <dzejrou@…> (2018-04-24 17:21:09)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/utility.hpp
r41bd6ec r9594c0c6 1 1 /* 2 * Copyright (c) 201 7Jaroslav Jindrak2 * Copyright (c) 2018 Jaroslav Jindrak 3 3 * All rights reserved. 4 4 * … … 103 103 } 104 104 105 template<class F1, class F2> 106 F2 swap_ranges(F1, F1, F2); 107 105 108 template<class T, size_t N> 106 109 void swap(T (&a)[N], T (&b)[N]) noexcept(noexcept(swap(*a, *b))) 107 110 { 108 // TODO: Use swap_ranges(a, a + N, b); when implemented.111 swap_ranges(a, a + N, b); 109 112 } 110 113
Note:
See TracChangeset
for help on using the changeset viewer.