File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Changes in version 12.9, 02 /05/2025
1+ Changes in version 12.9, 14 /05/2025
22===================================
33
44* CMakeLists.txt: Speed up build by removing compile dependencies.
55* Move private header files from /include to /src.
66* src/CMakeLists.txt: Update for private header files in /src.
77* test/CMakeLists.txt: Update for private header files in /src.
8+ * Vector.hpp: Get rid of std::is_trivial which is deprecated in C++26.
89
910Changes in version 12.8, 12/04/2025
1011===================================
Original file line number Diff line number Diff line change 11// /
22// / @file Vector.hpp
33// /
4- // / Copyright (C) 2023 Kim Walisch, <kim.walisch@gmail.com>
4+ // / Copyright (C) 2025 Kim Walisch, <kim.walisch@gmail.com>
55// /
66// / This file is distributed under the BSD License. See the COPYING
77// / file in the top level directory.
@@ -268,7 +268,7 @@ class Vector
268268 // with constructors (and with in-class initialization of
269269 // non-static members). But it does not default initialize
270270 // memory for POD types like int, long.
271- if (!std::is_trivial <T>::value)
271+ if (!std::is_trivially_default_constructible <T>::value)
272272 uninitialized_default_construct (end_, array_ + n);
273273
274274 end_ = array_ + n;
You can’t perform that action at this time.
0 commit comments