You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Can't use #included declaration in requires clause #470
//=== Cpp2 type declarations ====================================================
#include"cpp2util.h"//=== Cpp2 type definitions and function declarations ===========================externboolconst v;
//=== Cpp2 function definitions =================================================boolconst v {true};
_cppfront/main-3.cpp:
//=== Cpp2 type declarations ====================================================
#include"cpp2util.h"template<typename T> requires( v )
class t;
//=== Cpp2 type definitions and function declarations ===========================
#include"main.h"template<typename T> requires( v )
class t {
public:t() = default;
public:t(t const&) = delete; /* No 'that' constructor, suppress copy */public:autooperator=(t const&) -> void = delete;
};
automain() -> int;
//=== Cpp2 function definitions =================================================automain() -> int{}
Activity