implicit-instantiation Questions
1
Solved
Is use in a default member initializer still an odr-use, even if the default member initializer is not used by any constructor?
For example, is this program ill-formed because g<A> is odr-use...
Navigable asked 9/3, 2022 at 11:36
1
The question in the title is clear enough. To be more specific, consider the following example:
#include <type_traits>
template <typename T>
struct is_complete_helper {
template <...
Rusticus asked 6/9, 2018 at 9:39
1
Solved
template<typename T>
struct a
{
using type = int;
typename T::type i;
};
template<typename T, typename = a<T>>
void f1(T) {}
template<typename T, typename = typename a<...
Tetany asked 15/6, 2018 at 10:21
1
© 2022 - 2024 — McMap. All rights reserved.