Skip to content

Make vtbackend::Function::operator()(Args...) constexpr to return a compile-time string literal #1634

@christianparpart

Description

@christianparpart

We tend to use Function-API to construct VT sequences from a way better maintainable high level view. But this function is currently runtime-only, and it would just make sense to return a compile time string iff the input parameters are all known at compile time already.

Required knowledge: Only advanced C++ template meta programming
Reference: src/vtbackend/Functions.h
Signature to adapt:

    template <typename... Args>
    std::string operator()(Args&&... parameters) const

Metadata

Metadata

Assignees

No one assigned

    Labels

    code healthCode quality related topics.good first issueGood for newcomersperformancePerformance issues or improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions