|
Console Library 8.0.0
A header-only library that makes C++ simple
|
相邻去重过滤器。 More...
#include <gen.h>
Public Member Functions | |
| bool | operator() (const T &x) |
| 判断当前元素是否与前一个元素不同。 | |
Public Attributes | |
| bool | first = true |
| T | last |
相邻去重过滤器。
| T | 元素类型。 |
|
inline |
判断当前元素是否与前一个元素不同。
| x | 当前元素。 |
| bool console::ops::unique< T >::first = true |
| T console::ops::unique< T >::last |