struct NonVoid

Declaration

struct NonVoid { /* full declaration omitted */ };

Description

When used as the return type of the function signature in [`Fn`]($sus::fn::Fn), [`FnMut`]($sus::fn::FnMut) and [`FnOnce`]($sus::fn::FnOnce), the concepts will match against any return type from a functor except `void`. Use [`Anything`]($sus::fn::Anything) to include `void` as an accepted return type.

Declared at: sus/fn/fn_concepts.h:36

Method Overview

  • public template <class T>constexpr NonVoid(T &&) noexcept

Methods

ΒΆtemplate <class T>
constexpr NonVoid(T&&) noexcept

Declared at: sus/fn/fn_concepts.h:38

Templates

T

Parameters

T&&