Skip to content

No template support? #31

Description

@HarrievG

I am trying to use cc with generic types.

i would expect there to be some way to make the following valid:

#define CC_NO_SHORT_NAMES
#include <https://raw.githubusercontent.com/JacksonAllan/CC/refs/heads/main/cc.h>

template< typename T> struct cc_tmpl_test
{
   cc_vec( T ) data;
};

int main()
{

cc_tmpl_test<float> s;

}

see https://godbolt.org/z/zfdx7zGqb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions