Read container element values from STL vector and list