Commit 6f37a8cf authored by Philip Trettner's avatar Philip Trettner
Browse files

invalid handle static var

parent 671d0474
......@@ -98,8 +98,12 @@ struct primitive_handle
bool is_valid() const { return idx.is_valid(); } ///< valid idx (but could be deleted in some iterators)
bool is_invalid() const { return !idx.is_valid(); } ///< invalid idx
static const handle_t invalid;
};
template <class tag>
const typename primitive<tag>::handle primitive_handle<tag>::invalid = {};
// ======================== INDICES ========================
struct face_index : primitive_index<face_tag>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment