Is it possible to link to a static external library written entirely in c++ standard library (no UE4 container types)?

I have written some code (Deep reinforcement learning network) in c++ using standard library. I would like to use this code within UE4. Since the code does not use UE4 container types it is obviously not possible to “copy paste” the code within my project. Is it possible to turn my code into a library and then call my classes from within UE4?

If it is possible could anyone point me in the right direction?

Any help would be much appreciated!!

Thank you