Merge branch 'master' into tm_builtin_pad

This commit is contained in:
tamasmeszaros 2019-06-20 10:03:47 +02:00
commit c82fd692c3
91 changed files with 4791 additions and 4391 deletions

View file

@ -185,6 +185,14 @@ public:
inline bool empty() const { return size() == 0; }
};
template<class C> bool all_of(const C &container) {
return std::all_of(container.begin(),
container.end(),
[](const typename C::value_type &v) {
return static_cast<bool>(v);
});
}
template<class T>
struct remove_cvref
{