libstdc++
std::negate< _Tp > Struct Template Reference

#include <stl_function.h>

Inheritance diagram for std::negate< _Tp >:
[legend]

Public Types

typedef _Tp argument_type
 
typedef _Tp result_type
 

Public Member Functions

constexpr _Tp operator() (const _Tp &__x) const
 

Detailed Description

template<typename _Tp>
struct std::negate< _Tp >

One of the math functors.

Definition at line 235 of file stl_function.h.

Member Typedef Documentation

◆ argument_type

typedef _Tp std::unary_function< _Tp , _Tp >::argument_type
inherited

argument_type is the type of the argument

Definition at line 120 of file stl_function.h.

◆ result_type

typedef _Tp std::unary_function< _Tp , _Tp >::result_type
inherited

result_type is the return type

Definition at line 123 of file stl_function.h.

Member Function Documentation

◆ operator()()

template<typename _Tp >
constexpr _Tp std::negate< _Tp >::operator() ( const _Tp &  __x) const
inlineconstexpr

Definition at line 239 of file stl_function.h.


The documentation for this struct was generated from the following file: