Template member std::function of none templated class

I have a class that it has a templated function class DialogManager { public: template<class T> using TimeoutCallback = std::function<void (T)>; DialogManager(); virtual ~DialogManager(); template<class T> void SetTimeoutCallback(TimeoutCallback<T> callback); private: TimeoutCallback mTimeoutCallback; } I get below error: error: invalid use of template-name ‘DialogManager::TimeoutCallback’ without an argument list I’ve changed code to template<class T> TimeoutCallback<T> mTimeoutCallback;…

Details

LibreOffice won’t open in Pop-OS

I’m using pop-os 19.10 with gnome 3.34.2 and whenever I try to launch libreoffice(version 6.3.4) I get this error: /usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates I tried removing ~/.config/libreoffice. I tried uninstalling and reinstalling libreoffice from the pop!_shop and with these commands: sudo apt-get –purge remove libreoffice-core sudo apt-get install libreoffice I also…

Details