Updated fromVector to use traits
Changed using statement to struct
Changed type mapping from template to macro
Merge pull request #3 from kyamagu/type_traits

Type traits