experimental/functional File Reference

Go to the source code of this file.

## Namespaces

| std

## Macros

#define | __cpp_lib_experimental_boyer_moore_searching
#define | __cpp_lib_experimental_not_fn
#define | _GLIBCXX_EXPERIMENTAL_FUNCTIONAL

## Typedefs

template<typename _RAIter , typename _Hash , typename _Pred , typename _Val = typename iterator_traits<_RAIter>::value_type, typename _Diff = typename iterator_traits<_RAIter>::difference_type>
using | std::experimental::fundamentals_v1::__boyer_moore_base_t = std::conditional_t< std::__is_byte_like< _Val, _Pred >::value, __boyer_moore_array_base< _Diff, 256, _Pred >, __boyer_moore_map_base< _Val, _Diff, _Hash, _Pred > >

## Functions

template<typename _RAIter , typename _Hash = std::hash<typename std::iterator_traits<_RAIter>::value_type>, typename _BinaryPredicate = equal_to<>>
boyer_moore_horspool_searcher< _RAIter, _Hash, _BinaryPredicate > | std::experimental::fundamentals_v1::make_boyer_moore_horspool_searcher (_RAIter __pat_first, _RAIter __pat_last, _Hash __hf=_Hash(), _BinaryPredicate __pred=_BinaryPredicate())
template<typename _RAIter , typename _Hash = std::hash<typename std::iterator_traits<_RAIter>::value_type>, typename _BinaryPredicate = equal_to<>>
boyer_moore_searcher< _RAIter, _Hash, _BinaryPredicate > | std::experimental::fundamentals_v1::make_boyer_moore_searcher (_RAIter __pat_first, _RAIter __pat_last, _Hash __hf=_Hash(), _BinaryPredicate __pred=_BinaryPredicate())
template<typename _ForwardIterator , typename _BinaryPredicate = std::equal_to<>>
default_searcher< _ForwardIterator, _BinaryPredicate > | std::experimental::fundamentals_v1::make_default_searcher (_ForwardIterator __pat_first, _ForwardIterator __pat_last, _BinaryPredicate __pred=_BinaryPredicate())
template<typename _Fn >
auto | std::experimental::fundamentals_v2::not_fn (_Fn &&__fn) noexcept(std::is_nothrow_constructible< std::decay_t< _Fn >, _Fn &&>::value)

## Variables

template<typename _Tp >
constexpr bool | std::experimental::fundamentals_v1::is_bind_expression_v
template<typename _Tp >
constexpr int | std::experimental::fundamentals_v1::is_placeholder_v

## Detailed Description

This is a TS C++ Library header.

Definition in file experimental/functional.

## Function Documentation

## make_boyer_moore_horspool_searcher()

template<typename _RAIter , typename _Hash = std::hash<typename std::iterator_traits<_RAIter>::value_type>, typename _BinaryPredicate = equal_to<>>

boyer_moore_horspool_searcher<_RAIter, _Hash, _BinaryPredicate> std::experimental::fundamentals_v1::make_boyer_moore_horspool_searcher | ( | _RAIter | __pat_first,
|  | _RAIter | __pat_last,
|  | _Hash | __hf = `_Hash()`,
|  | _BinaryPredicate | __pred = `_BinaryPredicate()`
| ) |  |

inline

Generator function for boyer_moore_horspool_searcher.

Definition at line 302 of file experimental/functional.

References std::experimental::fundamentals_v1::make_boyer_moore_horspool_searcher(), and std::max().

Referenced by std::experimental::fundamentals_v1::make_boyer_moore_horspool_searcher().

## make_boyer_moore_searcher()

template<typename _RAIter , typename _Hash = std::hash<typename std::iterator_traits<_RAIter>::value_type>, typename _BinaryPredicate = equal_to<>>

boyer_moore_searcher<_RAIter, _Hash, _BinaryPredicate> std::experimental::fundamentals_v1::make_boyer_moore_searcher | ( | _RAIter | __pat_first,
|  | _RAIter | __pat_last,
|  | _Hash | __hf = `_Hash()`,
|  | _BinaryPredicate | __pred = `_BinaryPredicate()`
| ) |  |

inline

Generator function for boyer_moore_searcher.

Definition at line 292 of file experimental/functional.

References std::experimental::fundamentals_v1::make_boyer_moore_searcher().

Referenced by std::experimental::fundamentals_v1::make_boyer_moore_searcher().

## make_default_searcher()

template<typename _ForwardIterator , typename _BinaryPredicate = std::equal_to<>>

default_searcher<_ForwardIterator, _BinaryPredicate> std::experimental::fundamentals_v1::make_default_searcher | ( | _ForwardIterator | __pat_first,
|  | _ForwardIterator | __pat_last,
|  | _BinaryPredicate | __pred = `_BinaryPredicate()`
| ) |  |

inline

Generator function for default_searcher.

Definition at line 282 of file experimental/functional.

References std::experimental::fundamentals_v1::make_default_searcher().

Referenced by std::experimental::fundamentals_v1::make_default_searcher().

## not_fn()

template<typename _Fn >

auto std::experimental::fundamentals_v2::not_fn | ( | _Fn && | __fn | ) |

inline noexcept

[func.not_fn] Function template not_fn

Definition at line 371 of file experimental/functional.

References std::experimental::fundamentals_v2::not_fn().

Referenced by std::experimental::fundamentals_v2::not_fn().

## Variable Documentation

## is_bind_expression_v

template<typename _Tp >

constexpr bool std::experimental::fundamentals_v1::is_bind_expression_v

Variable template for std::is_bind_expression.

Definition at line 60 of file experimental/functional.

## is_placeholder_v

template<typename _Tp >

constexpr int std::experimental::fundamentals_v1::is_placeholder_v

Variable template for std::is_placeholder.

Definition at line 64 of file experimental/functional.