mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 10:19:57 +08:00
why u no constexpr, MSVC?
This commit is contained in:
parent
62bfb05b63
commit
6048f42aa6
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user