Is their some kind of method to flatten a stl container... example [[1, 4], [a,b, c], [b, [e]] ] becomes [1, 4, a, b, c, b, e]