Subject: Re: [boost] [Proposal] Adding CPUID Library in Boost
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2012-12-12 03:16:31
On Wed, Dec 12, 2012 at 12:04 PM, Gaetano Mendola <mendola_at_[hidden]> wrote:
> Does it make sense to add to a not platform dependent library a very
> platform dependent feature?
There are platform-specific components in Boost. Beside users,
Boost.CPUID (or Boost.CpuCaps or whatever the name is) can also be
viewed as a utility library that can be used by other libs.
> Basically what I'm reading is: I have several version of the same
> algorithm using different cpu features, after having spent a lot of time
> to write/test all of them then now I need a cpuid provided by boost.
What's wrong with it? Boost is useful on its own. If I use it anyway
in my project and I need cpuid, the proposed library will come handy.
If you don't use Boost and don't want to add the dependency you are
free to use any other implementation, including your own.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk