doesn't work:
@Cpp(EnableIf)
struct FollyIOBuf {
external {
cpp include "foo.h"
cpp name "std::unique_ptr<Foo>"
}
}
workaround:
@Cpp(EnableIf)
struct FollyIOBuf {
external {
cpp include "foo.h"
cpp name "std::unique_ptr<Foo>"
}
dummy: String;
}
I think a better solution would be to allow "external typealiases".