compile time?
i trying to create a my own vector class and i want to create a search function
i want to have search function availbe only for classes that have an operator==
i have a templated struct and a static const member property to check operator== is availbe or not.
static_assert can check your conditions at compile time
enable_if?
Обсуждают сегодня