Created
September 11, 2016 13:08
-
-
Save stoyannk/79030731adb7bd32a8f9ddd5db0e47a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template | |
void Unite2D(const Rectangle& other, bool allowEmpty = false) | |
{ | |
static_assert(sizeof...(Components) >= sizeof...(RhsComponents), "Cannot assign to type with less components than operand!"); | |
static_assert(meta_contains_types<meta_packer, meta_packer>::value, "Operand has components that are not part of this object!"); | |
m_Value.Unite2D(other.m_Value, allowEmpty); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment