scapix icon indicating copy to clipboard operation
scapix copied to clipboard

Supported stl types?

Open mathiasi opened this issue 5 years ago • 5 comments

Is there some documentation that covers which stl types are supported? I tried std::shared_ptr which appears to work nicely, but I also wanted to use std::future but without any luck ("!UNKNOWN!").

mathiasi avatar Sep 12 '19 14:09 mathiasi

Doh! Just noticed https://www.scapix.com/documentation/types/ - Though I'm still going to leave this open as I'm curious about std::future support

mathiasi avatar Sep 12 '19 14:09 mathiasi

Could you please provide an example of how would you like to use std::future with Scapix? Using any of the "client" languages.

Boris-Rasin avatar Sep 19 '19 13:09 Boris-Rasin

Interesting stuff, looks really nice! Do you have plans to support std::unique_ptr ?

jkhoogland avatar May 13 '20 00:05 jkhoogland

+1 for std::unique_ptr

TimPushkin avatar Nov 30 '22 13:11 TimPushkin

Also, std::optional is very convenient and could've been bridged as an explicit "nullable type" in the client languages.

And I think it would be better to explicitly specify enum class as a supported type. The fact that it isn't currently specified left me wondering if it is supported, but after generating an interface for a method with an enum class parameter it seems like it is indeed supported the same way a regular enum is.

TimPushkin avatar Nov 30 '22 13:11 TimPushkin