Add Array initialization from struct constructor (#5865) (#6147)
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Mon, 12 Oct 2020 19:24:18 +0000 (02:24 +0700)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 19:24:18 +0000 (12:24 -0700)
commit04bec23a37e11a80b9c6dc56657654305d658691
tree18a54ef5f7339339c077f5d67a3a733c30d566b3
parent77d57fd07560e1bfeccd34d1e4088cd36d3bf4be
Add Array initialization from struct constructor (#5865) (#6147)

- add flatbuffers::span
- add new constructor for `struct` with `array`
- add some test for flatbuffers::span and 'arrays_test.fbs'
include/flatbuffers/base.h
include/flatbuffers/flatbuffers.h
include/flatbuffers/stl_emulation.h
src/idl_gen_cpp.cpp
tests/arrays_test_generated.h
tests/cpp17/generated_cpp17/monster_test_generated.h
tests/evolution_test/evolution_v1_generated.h
tests/evolution_test/evolution_v2_generated.h
tests/monster_test_generated.h
tests/test.cpp