Migrate source/build to c++14 ...
Migrate source/build to c++14 (#522) * Update `CMakeLists.txt` for C++14 option. * Update to gcc 6 minimum. * Update travis CI from gcc-5 to gcc-6 * Use `std::..._t` style type traits, replacing `util::` aliases. * Use `std::cbegin`, `std::cend`, and `std::make_unique`, replacing `util::` versions. * Remove `DEDUCED_RETURN_TYPE` macros. * Remove redundant return type specifications. * Use correct ADL for `begin` and `end` in (almost all) the range utilities. * Remove redundant `mechinfo` ctor (aggregate initialization suffices). * Use lambda capture initializers where appropriate. * Use generic `std::equal_to`. * Use variable templates for `math::infinity` and `math::pi`. * Remove `enum_hash` workaround. * Use `""s` string literals where we were using our own `""_s` construction. * Use generic lambda for recursive lambda instead of `std::function` wrapper. * Use generic lambda for generic arithmetic tests. Fixes #358.
Showing
- .travis.yml 3 additions, 3 deletions.travis.yml
- CMakeLists.txt 3 additions, 3 deletionsCMakeLists.txt
- arbor/algorithms.hpp 17 additions, 29 deletionsarbor/algorithms.hpp
- arbor/backends/builtin_mech_proto.hpp 3 additions, 3 deletionsarbor/backends/builtin_mech_proto.hpp
- arbor/backends/gpu/shared_state.hpp 1 addition, 2 deletionsarbor/backends/gpu/shared_state.hpp
- arbor/backends/multicore/shared_state.hpp 1 addition, 2 deletionsarbor/backends/multicore/shared_state.hpp
- arbor/fvm_layout.cpp 8 additions, 5 deletionsarbor/fvm_layout.cpp
- arbor/fvm_layout.hpp 7 additions, 7 deletionsarbor/fvm_layout.hpp
- arbor/fvm_lowered_cell_impl.hpp 3 additions, 2 deletionsarbor/fvm_lowered_cell_impl.hpp
- arbor/math.hpp 10 additions, 25 deletionsarbor/math.hpp
- arbor/mechcat.cpp 5 additions, 9 deletionsarbor/mechcat.cpp
- arbor/memory/array.hpp 7 additions, 7 deletionsarbor/memory/array.hpp
- arbor/memory/array_view.hpp 8 additions, 8 deletionsarbor/memory/array_view.hpp
- arbor/memory/copy.hpp 4 additions, 4 deletionsarbor/memory/copy.hpp
- arbor/memory/device_coordinator.hpp 1 addition, 1 deletionarbor/memory/device_coordinator.hpp
- arbor/memory/fill.hpp 1 addition, 1 deletionarbor/memory/fill.hpp
- arbor/memory/host_coordinator.hpp 1 addition, 1 deletionarbor/memory/host_coordinator.hpp
- arbor/memory/wrappers.hpp 7 additions, 7 deletionsarbor/memory/wrappers.hpp
- arbor/partition_load_balance.cpp 1 addition, 2 deletionsarbor/partition_load_balance.cpp
- arbor/sampler_map.hpp 3 additions, 4 deletionsarbor/sampler_map.hpp
Please register or sign in to comment