I'm not sure about other European countries, as I live in Spain. Here the situation is different. NGOs and the Catholic Church maintain a network or homeless shelters were people are fed and can sleep for free. The government subsidize these organizations instead of focusing on solving this problem itself.