why u no constexpr, MSVC?

This commit is contained in:
ninnghazad 2020-08-23 00:50:47 +02:00 committed by GitHub
parent 62bfb05b63
commit 6048f42aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,9 @@
#include "dynamic_object.hpp"
#include "function_params.hpp"
// TODO: remove me - just for testing
#include <iostream>
namespace chaiscript {
class Type_Conversions;
namespace exception {
@ -77,6 +80,8 @@ namespace chaiscript
std::vector<Boxed_Value> convert(Function_Params t_params, const Type_Conversions_State &t_conversions) const
{
auto vals = t_params.to_vector();
constexpr Type_Info IAMATEST{};
std::cout << IAMATEST.name() << std::endl;
constexpr auto dynamic_object_type_info = user_type<Dynamic_Object>();
for (size_t i = 0; i < vals.size(); ++i)
{