[lkml]   [2006]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: C++ pushback
    On Wed, Apr 26, 2006 at 06:00:52PM -0500, Roman Kononov wrote:
    > Linus Torvalds wrote:
    > > - a lot of the C++ features just won't be supported sanely (ie the kernel
    > > infrastructure just doesn't do exceptions for C++, nor will it run any
    > > static constructors etc).
    > A lot of C++ features are already supported sanely. You simply need to
    > understand them. Especially templates and type checking. C++
    > exceptions are not very useful tool in kernels. Static constructor
    > issue is trivial. I use all C++ features (except exceptions) in all
    > projects: Linux kernel modules, embedded real-time applications,
    > everywhere. They _really_ help a lot.

    Seriously, your code must be broken.

    The C++ standard does not allow an allocator to return NULL, it is
    supposed to raise an exception.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-04-30 19:51    [W:0.030 / U:27.348 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site