Type safe stack allocator

Signed-off-by: Kohei Takahashi <flast@flast.jp>
Replace List of List to static_vector

  Other vector implementations are unusable because there is access
  violation.

Signed-off-by: Kohei Takahashi <flast@flast.jp>