E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::generator_from Concept Reference

#include <eve/concept/generator.hpp>

Detailed Description

The concept generator_for is satisfied if G satisfies eve::generator and can be called with a eve::as<T> argument.

Template Parameters
GType of the generator to check.
TType of the argument to pass to the generator.

Examples

  • The type of eve::one satisfies generator_for<int>
  • The type of eve::nbmantissabits satisfies generator_for<float> but not generator_for<int>

Concept definition