Skip to content
Snippets Groups Projects
Commit 89041a16 authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen
Browse files

Add a VectorCast function that safely casts from

Vector<Offset<T>> to Vector<Offset<U>> if U is a base
class of T.

This is useful for when you want to generically
iterate over a vector of objects that derive from
flatbuffers::Table.

Change-Id: I59161e3b9f40501f72e02b46509be9dc8ab86c6b
parent 7a36419f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment