Skip to content

Instantly share code, notes, and snippets.

@faithandbrave
Created January 19, 2011 05:41
Show Gist options
  • Save faithandbrave/785749 to your computer and use it in GitHub Desktop.
Save faithandbrave/785749 to your computer and use it in GitHub Desktop.
initializer_list
namespace std {
template<class E> class initializer_list {
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() noexcept;
size_t size() const noexcept;
const E* begin() const noexcept;
const E* end() const noexcept;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment