class mrpt::cpu::internal::CPU_analyzerΒΆ

Auxiliary class.

Users should use mrpt::core::supports() instead.

#include <mrpt/core/cpu.h>

class CPU_analyzer
{
public:
    //
fields

    std::array<bool, static_cast<std::size_t>mrpt::cpu::feature::FEATURE_COUNT)> feat_detected;

    //
methods

    static CPU_analyzer& Instance();
    bool& feat(mrpt::cpu::feature f);
    bool feat(mrpt::cpu::feature f) const;
};