flatbuffers/docs/source
rmawatson 53a897731e this is allow custom allocator for obj-api structs/tables. (#4520)
added "native_custom_alloc" attribute to tables/structs, eg.

table parent_table( native_custom_alloc:"custom_alloc_name" ) {
...
}

with a custom allocator defined as

template <typename T> class custom_alloc_name : public std::allocator<T> {
public:

 typedef T*       pointer;

 template <class U>
 struct rebind {
  typedef custom_alloc_name<U> other;
 };

 pointer allocate(const std::size_t n) {
      return ....;
 }

 void deallocate(T* ptr, std::size_t n) {
    ...
 }

 custom_alloc_name() throw() {}
 template <class U> custom_alloc_name(const custom_alloc_name<U>&) throw() {}
};
};
2017-12-01 09:15:41 -08:00
..
gRPC [C++] Improve flatbuffers + gRPC integration (#4310) 2017-06-07 13:56:49 -07:00
Benchmarks.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
Building.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
Compiler.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
CONTRIBUTING.md Fix broken symlink to CONTRIBUTING.md (#4212) 2017-03-08 13:16:11 -08:00
CppUsage.md this is allow custom allocator for obj-api structs/tables. (#4520) 2017-12-01 09:15:41 -08:00
CUsage.md Update C documentation with supported MSVC versions, and other minor updates. 2016-04-07 18:52:00 +02:00
doxyfile Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
doxygen_layout.xml [C++] Improve flatbuffers + gRPC integration (#4310) 2017-06-07 13:56:49 -07:00
FlatBuffers.md First attempt at SchemaLess FlatBuffers. 2017-02-08 15:13:56 -08:00
FlexBuffers.md Update doc (#4427) 2017-09-07 11:52:58 -07:00
GoApi.md Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
GoApi_generated.txt Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
GoUsage.md Implement mutators for Go 2016-07-20 22:58:22 +05:30
Grammar.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
groups Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
Internals.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
JavaCsharpUsage.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
JavaScriptUsage.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
PHPUsage.md Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
PythonUsage.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
README_TO_GENERATE_DOCS.md Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
Schemas.md Document type aliases (#4499) 2017-11-17 08:57:01 -08:00
style.css Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
Support.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
Tutorial.md Document type aliases (#4499) 2017-11-17 08:57:01 -08:00
WhitePaper.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00