Commit ffa52e11 by Eelis van der Weegen Committed by Paolo Carlini

initializer_list (initializer_list): Add missing typedefs.

2009-05-24  Eelis van der Weegen  <eelis@eelis.net>
	
	* libsupc++/initializer_list (initializer_list): Add missing typedefs.

From-SVN: r147828
parent d2993707
2009-05-24 Eelis van der Weegen <eelis@eelis.net>
* libsupc++/initializer_list (initializer_list): Add missing typedefs.
2009-05-21 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/40221
......
......@@ -50,6 +50,15 @@ namespace std
: __array(__a), __len(__l) { }
public:
typedef _E value_type;
typedef const _E& reference;
typedef const _E& const_reference;
typedef size_t size_type;
typedef const _E* iterator;
typedef const _E* const_iterator;
initializer_list()
: __array(NULL), __len(0) { }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment