auto parseConfig() { auto lines = File(txtlinks, "r").byLine; return lines; }
Error: cannot return non-void from void function I can't understand the reasons of the error; Can I return auto from function?
Suliman via Digitalmars-d-learn Thu, 27 Nov 2014 05:11:07 -0800
auto parseConfig() { auto lines = File(txtlinks, "r").byLine; return lines; }
Error: cannot return non-void from void function I can't understand the reasons of the error; Can I return auto from function?