struct Anything

Declaration

struct Anything { /* 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 including `void`. Use [`NonVoid`]($sus::fn::NonVoid) to exclude `void` as an accepted return type.

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

Method Overview

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

Methods

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

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

Templates

T

Parameters

T&&