I just ran into the problem of exporting a class containing std members and the following warning appeared:
WARNING: class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class ...
This should be globally disabled but currently needs to be diasabled using #pragma warning(disable : 4251) in each class.