src/misc/smallvec.h
changeset 10208 98dc9f65629e
parent 10207 0bdc24d88198
child 10429 1b99254f9607
equal deleted inserted replaced
10207:0bdc24d88198 10208:98dc9f65629e
    47 
    47 
    48 	T *End()
    48 	T *End()
    49 	{
    49 	{
    50 		return &data[items];
    50 		return &data[items];
    51 	}
    51 	}
       
    52 
       
    53 	const T *Get(size_t index) const
       
    54 	{
       
    55 		return &data[index];
       
    56 	}
       
    57 
       
    58 	T *Get(size_t index)
       
    59 	{
       
    60 		return &data[index];
       
    61 	}
    52 };
    62 };
    53 
    63 
    54 #endif /* SMALLVEC_H */
    64 #endif /* SMALLVEC_H */