mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 10:19:57 +08:00
Maybe this MSVC bug?
https://developercommunity.visualstudio.com/content/problem/957737/constexpr-typeid-in-aggregate.html
This commit is contained in:
parent
95cb83c79a
commit
81fc56f77c
@ -81,7 +81,8 @@ namespace chaiscript
|
||||
{
|
||||
auto vals = t_params.to_vector();
|
||||
|
||||
const std::type_info * floop = &typeid(Boxed_Value);
|
||||
const std::type_info * floop = &typeid(int);
|
||||
std:.cout << floop->name() << std::endl; // should print 'i' or smth like that
|
||||
constexpr Type_Info IAMATEST(false,false,false,false,false,floop,floop);
|
||||
std::cout << IAMATEST.name() << std::endl;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user