Skip to content
Snippets Groups Projects
user avatar
Sam Yates authored
* Implement a workalike for the proposed `std::expected` class: see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0323r9.html .
* Replace use of `either` with `expected` in `mprovider`, `mechanism_catalogue`, `util::partition_range`, and `pyarb::hopefully`.
* Replace use of `either` with `variant` in `util::sentinel_iterator`.
* Add `in_place_t` constructor for `util::optional`.
* Fix move assignment bug in `util::variant`.
* Remove `util/either.hpp` and associated tests.

Fixes #1135. 
74e911e6
Name Last commit Last update
..
mod
swc
CMakeLists.txt
common.hpp
common_morphologies.hpp
gpu_vector.hpp
instrument_malloc.hpp
mech_private_field_access.cpp
mech_private_field_access.hpp
morph_pred.hpp
stats.cpp
stats.hpp
test.cpp
test_algorithms.cpp
test_any.cpp
test_any_visitor.cpp
test_backend.cpp
test_counter.cpp
test_cv_geom.cpp
test_cv_layout.cpp
test_cv_policy.cpp
test_cycle.cpp
test_domain_decomposition.cpp
test_double_buffer.cpp
test_dry_run_context.cpp
test_event_binner.cpp
test_event_delivery.cpp
test_event_generators.cpp
test_event_queue.cpp
test_expected.cpp
test_filter.cpp
test_fvm_layout.cpp
test_fvm_lowered.cpp
test_glob_basic.cpp
test_gpu_stack.cu
test_intrin.cpp
test_intrin.cu
test_kinetic_linear.cpp
test_lexcmp.cpp
test_lif_cell_group.cpp
test_local_context.cpp
test_maputil.cpp
test_mask_stream.cpp
test_math.cpp
test_matrix.cpp
test_matrix_cpuvsgpu.cpp
test_matrix_gpu.cpp
test_mc_cell_group.cpp
test_mc_cell_group_gpu.cpp
test_mcable_map.cpp
test_mech_temp_diam.cpp
test_mechanisms.cpp
test_mechcat.cpp
test_mechinfo.cpp
test_merge_events.cpp
test_merge_view.cpp
test_morph_components.cpp
test_morph_embedding.cpp
test_morph_expr.cpp
test_morph_place.cpp
test_morph_primitives.cpp
test_morph_stitch.cpp
test_morphology.cpp
test_multi_event_stream.cpp
test_multi_event_stream_gpu.cpp
test_multi_event_stream_gpu.cu
test_optional.cpp
test_ordered_forest.cpp
test_padded.cpp
test_partition.cpp
test_partition_by_constraint.cpp
test_path.cpp
test_piecewise.cpp
test_point.cpp
test_pp_util.cpp
test_probe.cpp
test_range.cpp
test_ratelem.cpp
test_reduce_by_key.cu
test_schedule.cpp
test_scope_exit.cpp
test_segment_tree.cpp
test_simd.cpp
test_span.cpp
test_spike_source.cpp
test_spike_store.cpp
test_spikes.cpp
test_spikes_gpu.cpp
test_stats.cpp
test_strprintf.cpp
test_swcio.cpp
test_synapses.cpp
test_thread.cpp
test_threading_exceptions.cpp
test_transform.cpp
test_tree.cpp
test_uninitialized.cpp
test_unique.cpp
test_unique_any.cpp
test_variant.cpp