TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
nda::CallableWithLongs

#include <nda/concepts.hpp>

Detailed Description

Check if a given type can be called with a certain number of long arguments.

An example of a type satisfying this concept is e.g. nda::basic_array or nda::basic_array_view. More generally, every type modelling the nda::Array concept has to be nda::CallableWithLongs as well.

Template Parameters
AType to check.
RNumber of long arguments.

Definition at line 46 of file concepts.hpp.

Concept definition

template<typename A, int R>
concept nda::CallableWithLongs = requires(A const &a) {
{ detail::call_on_R_longs(std::make_index_sequence<R>{}, a) };
}
Check if a given type can be called with a certain number of long arguments.
Definition concepts.hpp:46