MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / value

Function value

tests/catch.hpp:3567–3569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3565
3566 template <typename T>
3567 GeneratorWrapper<T> value(T&& value) {
3568 return GeneratorWrapper<T>(pf::make_unique<SingleValueGenerator<T>>(std::forward<T>(value)));
3569 }
3570 template <typename T>
3571 GeneratorWrapper<T> values(std::initializer_list<T> values) {
3572 return GeneratorWrapper<T>(pf::make_unique<FixedValuesGenerator<T>>(values));

Callers 2

populateMethod · 0.85
makeGeneratorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected