I get: 'Exception thrown at 0x...(sfml-system-2.dll) in ...exe at 0x... Access violation reading location 0x...'
With the following code in debug mode in Visual Studio 2015 (compiled as release - win32, tested with the debugger)
#include <SFML/Graphics.hpp>
#include <vector>
#include <memory>
void main()
{
std::vector<std::unique_ptr<sf::Text>> vec;
sf::Font test;
test.loadFromFile("Arial.ttf");
sf::Text text("hello ", test, 13); // does not throw
vec.push_back(std::unique_ptr<sf::Text>(new sf::Text("goodbye ", test, 13))); // throws exception
}