• Dmitry Kazakov's avatar
    Add a workaround for a bug(?) in clang · 5a82b010
    Dmitry Kazakov authored
    It looks like clang cannot link to explicit instantiations containing
    'half' as a template parameter. I didn't manage to reproduce a limited
    self-contained test yet.
    The workaround just stops exporting templated classes. It exports a
    factory that accepts KoId. This factory then dispatches the calls to
    proper templated code.