std::experimental::basic_string_view::begin, std::experimental::basic_string_view::cbegin - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::basic_string_view::begin, std::experimental::basic_string_view::cbegin

From cppreference.com
< cpp‎ | experimental‎ | basic string view

constexpr const_iterator begin() const; |  | (library fundamentals TS)
constexpr const_iterator cbegin() const; |  | (library fundamentals TS)

Returns an iterator to the first character of the view.

### [edit] Parameters

(none)

### [edit] Return value

`const_iterator` to the first character

### [edit] Exceptions

`noexcept` specification:
noexcept

### [edit] Complexity

Constant

### [edit] See also

endcend | returns an iterator to the end (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/basic_string_view/begin&oldid=71243"
Category:

- unconditionally noexcept