• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: <template> classes for kernel development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <template> classes for kernel development


  • Subject: Re: <template> classes for kernel development
  • From: Dean Reece <email@hidden>
  • Date: Sun, 27 Feb 2005 16:32:19 -0800

Templates in the kernel are not explicitly prevented from working, but they are not officially supported. This means that we do not test the compiler or the kernel C++ runtime for templates, nor do we provide technical support to developers for their use. We also don't guarantee binary compatibility between releases w.r.t. templates.

That being said, I have heard of developers successfully using them. In general, you can use language feature that you can get to work, as long as it is entirely internal to your kext. Anything that requires special linker or run-time support that we don't officially support is at risk.

Officially, we support the same language features as The Embedded C++ (http://www.caravan.net/ec2plus/). The Mac OS X kernel C++ environment is described at http://developer.apple.com/documentation/DeviceDrivers/Conceptual/ WritingDeviceDriver/CPluPlusRuntime/chapter_2_section_1.html

Hope this helps,
 - Dean

On Feb 27, 2005, at 2:52 PM, Alun Carp wrote:
I have a bunch of classes which provide support for various encryption algorithms.

They make a lot of use of <template> classes.

My question is whether template classes can be used for Mac OS X kernel driver development?

Thanks

Alun

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 ><template> classes for kernel development (From: Alun Carp <email@hidden>)

  • Prev by Date: <template> classes for kernel development
  • Next by Date: Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
  • Previous by thread: <template> classes for kernel development
  • Next by thread: another strange panic
  • Index(es):
    • Date
    • Thread