Fixed handling properties of template methods (e.g. is_constructor)

This commit is contained in:
Bartek Kryza
2023-06-01 00:57:46 +02:00
parent 112f7cb806
commit e7f738c6dc
3 changed files with 46 additions and 22 deletions

View File

@@ -11,6 +11,13 @@ public:
: private_member{i}
{
}
template <typename T>
A(T t)
: private_member{t.get()}
{
}
A(A &&) = default;
A(const A &) = delete;
virtual ~A() = default;