# Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world.

## Struct template tail_impl

boost::accumulators::impl::tail_impl

## Synopsis

```// In header: <boost/accumulators/statistics/tail.hpp>

template<typename Sample, typename LeftRight>
struct tail_impl {
// types
typedef mpl::if_< is_same< LeftRight, right >, numeric::functional::greater< Sample const, Sample const  >, numeric::functional::less< Sample const, Sample const  > >::type predicate_type;
typedef unspecified                                                                                                                                                          result_type;

// member classes/structs/unions

struct indirect_cmp {
// construct/copy/destruct
indirect_cmp(std::vector< Sample > const &);
indirect_cmp & operator=(indirect_cmp const &);

// public member functions
bool operator()(std::size_t, std::size_t) const;
};

struct is_tail_variate {
// member classes/structs/unions
template<typename T>
struct apply {
};
};

// construct/copy/destruct
template<typename Args> tail_impl(Args const &);
tail_impl(tail_impl const &);

// public member functions
BOOST_MPL_ASSERT((mpl::or_< is_same< LeftRight, right >, is_same< LeftRight, left > >));
template<typename Args> void operator()(Args const &);
result_type result(dont_care) const;

// private member functions
template<typename Args> void assign(Args const &, std::size_t);
};```

## Description

### `tail_impl` public construct/copy/destruct

1. `template<typename Args> tail_impl(Args const & args);`
2. `tail_impl(tail_impl const & that);`

### `tail_impl` public member functions

1. ` BOOST_MPL_ASSERT((mpl::or_< is_same< LeftRight, right >, is_same< LeftRight, left > >));`
2. `template<typename Args> void operator()(Args const & args);`
3. `result_type result(dont_care) const;`

### `tail_impl` private member functions

1. `template<typename Args> void assign(Args const & args, std::size_t index);`
{"ft_lang_label":"__label__en","ft_lang_prob":0.5559284,"math_prob":0.8362096,"size":1463,"snap":"2021-31-2021-39","text_gpt3_token_len":346,"char_repetition_ratio":0.15969843,"word_repetition_ratio":0.025316456,"special_character_ratio":0.2501709,"punctuation_ratio":0.2680851,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9615611,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-08-04T06:59:26Z\",\"WARC-Record-ID\":\"<urn:uuid:cfa90db2-e33d-4857-b17f-4f05c4eff0e1>\",\"Content-Length\":\"18009\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c5fef474-2ca3-4b91-a747-674e7160df20>\",\"WARC-Concurrent-To\":\"<urn:uuid:a514e11d-22c9-49b1-8943-b5789acf1f72>\",\"WARC-IP-Address\":\"146.20.110.251\",\"WARC-Target-URI\":\"https://www.boost.org/doc/libs/1_61_0/doc/html/boost/accumulators/impl/tail_impl.html\",\"WARC-Payload-Digest\":\"sha1:U65AH2P5MKBMRFHY6E7PIG46YEGOJ3TB\",\"WARC-Block-Digest\":\"sha1:B2234VLADIQCS5AIAKBSY3PQYK2I4LK2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046154796.71_warc_CC-MAIN-20210804045226-20210804075226-00664.warc.gz\"}"}