mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
a9294cdbef
Neither of these have a place in modern C++11; boost::value_initialized is entirely superseded by `Type var{};` which does value initialization (or default construction if a default constructor is defined). More problematically, each `boost::value_initialized<T>` requires instantiation of another wrapping templated type which is a pointless price to pay the compiler in C++11 or newer. Also removed is the AUTO_VAL_INIT macro (which is just a simple macro around constructing a boost::value_initialized<T>). BOOST_FOREACH is a similarly massive pile of code to implement C++11-style for-each loops. (And bizarrely it *doesn't* appear to fall back to C++ for-each loops even when under a C++11 compiler!) This removes both entirely from the codebase. |
||
---|---|---|
.. | ||
brew | ||
codefresh | ||
depends | ||
epee | ||
fuzz_testing | ||
gitian | ||
rlwrap | ||
snap | ||
valgrind | ||
CMakeLists.txt |