mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
Merge branch 'master' into tm_builtin_pad
This commit is contained in:
commit
c82fd692c3
91 changed files with 4791 additions and 4391 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue