DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
system_state Concept Reference

Concept definition

template<typename T>
concept system_state = requires(T state) {
typename T::value_type;
requires std::is_arithmetic_v<typename T::value_type>;
requires !std::same_as<T, std::string>;
requires requires {
{ state.size() } -> std::convertible_to<std::size_t>;
{ state.begin() } -> std::random_access_iterator;
{ state.end() } -> std::random_access_iterator;
};
{ state[0] } -> std::convertible_to<typename T::value_type>;
}

Detailed Description

Definition at line 13 of file concepts.hpp.