{
// the underlying temporary array may be allocated in read-only memory.
constexprint temp[] = {0, 1, 2, 3, 4, 5};
for( constint* iter = std::begin(temp) ; iter != std::end(temp) ; ++iter ) {
int i = *iter ; // auto i => value semantics (operate on a copy)
std::cout << i << std::endl ;
} // the underlying array is not guaranteed to exist after this