char[][] to std::vector<std::string> - DIP or dmd-issue?

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 13 08:38:29 PDT 2015


On Saturday, 13 June 2015 at 15:21:19 UTC, Dennis Ritchie wrote:
> I wish to propose the creation of new types of data D: str, 
> wstr, dstr, which will be the analogs of C++ 
> `std::vector<std::string>`.

Ie str, wstr, dstr be mutable counterparts immutable strings 
respectively str (mutable(char[])), wstr (mutable(wchar[])), dstr 
(mutable(dchar[])). In C++:
std::vector<std::string>

str[], wstr[], dstr[] in C++:
std::vector<std::vector<std::string> >


More information about the Digitalmars-d-learn mailing list