JWellbelove

VisualDSP++ wish list

Discussion created by JWellbelove on Feb 10, 2012
Latest reply on Feb 15, 2012 by jcgalveza
  1. Support for templates having 'section' directives.

    template <typename T>
    section(SOME_SECTION)
    void SomeFunction()
    {
    }

    For both template free standing and member functions.

  2. Compile time instead of preprocessor 'pragma' directives.
    It would make writing optimised generic code much easier.

    This does not compile.

    template <typename T, const size_t MINIMUM, const size_t MAXIMUM, const size_t MODULUS>
    void SomeFunction(T start, T end)
    {
        #pragma loop_count(MINIMUM, MAXIMUM, MODULUS) <<< ERROR. Constants not defined for preprocessor.
        for (T i = start; i  != end; ++i)
        {
            ...
        }
    }
  3. Anynone have more?

Outcomes