-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"type_string" output of vector #29
Comments
It should work now: 9741159#diff-60cb1e143f8c8fa9e4aca20cab1f6a50R36 |
it works,but not so well. #include <silicon/api.hh> #include "symbols.hh" using namespace sl; // Silicon namespace int main()
} `-----type_string(User)----- {name: string, age: int, city: string} -----type_string(std::vector)----- vector of {name: string, age: int, city: string} -----type_string(D(_num=int(1),_date=std::vector()))----- {num: int, date: vector of void} ` |
Thanks for noticing. Fixed in e54e174 |
`#include
include <silicon/api.hh>
include <silicon/api_description.hh>
include "symbols.hh"
using namespace sl; // Silicon namespace
using namespace s; // Symbols namespace
int main()
{
typedef decltype(D(_name = std::string(), _age = int(), _city = std::string())) User;
}`
out put :
Is there some way to make "type_string(std::vector*)" to output "vector of {name: string, age: int, city: string}"
The text was updated successfully, but these errors were encountered: