I get this message and it just goes on and on for ages and I can't see why. It says there is a problem with the template usage maybe but I don't think I did something wrong:
using std::shared_ptr;
using std::set;
class User{
    set<CoinBalance> holdings;
    ApiConnection api;
public:
    void newHolding(const shared_ptr<Coin>&, double amount = 0);
    void addToHolding(const shared_ptr<Coin>&, double amount = 0);
    void decreaseFromHolding(const shared_ptr<Coin>&, double amount = 0);
    double getHondingsUsdValue();
};
and this is how I used shared_ptr:
class CoinBalance {
    shared_ptr<Coin> coin;
    double amount;
};

 
     
     
    