Normally, in MinGW mode, inline methods aren't dllexported.
However, in the case of a dllimported template instantiation, the inline methods aren't instantiated locally, but referenced from the instantiation. Therefore, those methods also need to be dllexported, in the case of an instantiation.
GCC suffers from the same issue, reported at [1], but the issue is still unresolved there.