[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

virtual template methods



I have been thinking about a reasonable work-around for virtual template methods. The crux boils down to being able to do the following (in the simplest case of a
single template parameter):

Input:
--  An std::type_info
-- A template global/static function (of one template parameter)
Output:
-- An instantiation of the template function with the given type

Is this the kind of thing that is in the ballpark for gccjit?

Thank you.