Opened 7 years ago

Last modified 7 years ago

#12041 new Feature Requests

fusion::traits for proxy types

Reported by: jensweller@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

This ticket has its origin in this thread: http://lists.boost.org/Archives/boost/2016/03/228115.php

When working in generic code, one cannot determine if the underlying fusion::vector or other containers are containing a proxy type or not.

E.g. fusion::result_of::at_c<Seq, I>::type requires an extra ::type, while this will likely error on normal fusion types. It would be nice to be able to seperate these by a enable_if into seperate methods.

This is related to ADAPT_STRUCT and ADAPT_STRUCT_ADT usage, _ADT structs will result in using proxies in the type vectors.

Change History (1)

comment:1 by damien.buhl@…, 7 years ago

Hi Jens,

I'm maintaining this part, I'll add this feature, I've the same problem in a library using fusion : http://daminetreg.github.io/lib-cpp-pre/#pre::json/pre::json

Cheers,

Note: See TracTickets for help on using tickets.