Constructor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello again,

so sad i'm not using Your standard-library anymore. I have -fno-stdinc, -fno-stdinc++ and -fno-stdlib now. Exceptions are not working, but unwinding with Dwarf seems to be brilliant and easy. A few more days at home and i got it working. You can find my Blink example on GitHub in a few weeks.
What i'm still missing is a simple String-constructor, can You help me?

auto str=new String("abc")

String::String(char const* str) doesn't do the trick, what would really help is a new constructor.

String::?String(char const* str)

It could return the required size and You could call

String::=(size_t len, char const* str)

Is this already possible somehow? After so many years?

Friendly regards,

Sven






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux