Talk:cpp/string/basic string/front - cppreference.com

en.cppreference.com

Tin mới

You are encouraged to create an account and log in; however, it is not mandatory

You are encouraged to log in; however, it is not mandatory [o]

View the content page [c]

This page is protected. You can view its source [e]

Past revisions of this page [h]

string/basic string

cpp/string/basic string/back

std::basic_string::reference

cpp/string/basic string/at

User:Space Mission

Hi. Maybe this is not the proper place to ask, but does anybody know why the interface of std::string::front and std::string::back uses, as return type, the plain (const)references instead of these dedicated types:

User talk:Space Mission

Hi. Maybe this is not the proper place to ask, but does anybody know why the interface of std::string::front and std::string::back uses, as return type, the plain (const)references instead of these dedicated types:

User talk:Fruderica

cpp/container/array

cpp/container/list

cpp/container/forward list

cpp/container/deque

cpp/container/queue

cpp/container/stack

cpp/container/vector

cpp/utility/bitset

cpp/numeric/valarray

cpp/string/basic string view

std::experimental::string_view

Special:Categories

Pages using deprecated source tags

Pages using deprecated enclose attributes

A list of recent changes in the wiki [r]

A list of all wiki pages that link here [j]

Recent changes in pages linked from this page [k]

A list of all special pages [q]

Permanent link to this revision of this page

More information about this page