I am trying to uderstand beter a teplate code:
request.setOpt (CO::Url {string {K.url_base} + "public/" + K.query_url});
Where I can read about this type of call (specialization)
SO... Template <> not used but template{}
What is this type of {} syntax?
How to interpret this code ? (obviously call of template function, but ... strange). How is this syntax called? Is there a term ?
It has nothing to do with templates, it's the uniform initialization syntax. string {K.url_base} constructs a string object by passing K.url_base to the constructor.