Skip to content

Support for logging various templated classes #155

@andrewkcorcoran

Description

@andrewkcorcoran

Such as below. If you control the classes you can have workarounds but if you want to log a class owned by non user code something more is required.

struct Base1{};

template<typename T>
struct Base2 : public Base1
{
    T t;
};

template<typename T, typename S>
struct Derived : public Base2<T>
{
    S s;

   struct Nested{} nested;

   template<typename U>
   struct Nested2{};
};

auto n = Derived<int, double>::Nested2<unsigned int>{};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions