If I have a demo.fbs with Demo table, then fb can generate embed schema as static method in struct DemoBinarySchema in file demo_bfbs_generated.h
My method is template<T> send(const T& data).
I need a way to access DemoBinarySchema from DemoT.
For example fbs already allows accessing table type from T type:
struct DemoT: ... {
typedef Demo TableType;
This allows me to use T::TableType inside my send template method. I need similar approach for embed binary schema.
Thank you