Skip to content

Add the ubiquitous cryptic overload template to unilang #1

@xparq

Description

@xparq

(It should really be a language feature actually, but...)

template<typename ... Ts> 
struct overload : Ts ... { 
    using Ts::operator() ... ; 
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions