79822350

Date: 2025-11-17 13:33:34
Score: 2.5
Natty:
Report link

@PepijnKramer : My real case is more complex (vector of a struct containing a lot of data, each of them is an optional map<string,map<string,map<string,double>>> storing an history of mathematical data related to my algorithm). I used a map in the optional to keep the spirit of "emplace when required", I put the optional in a container in order to have an elegant one-line call (without redudancy of access).

Reasons:
  • No code block (0.5):
  • User mentioned (1): @PepijnKramer
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Caduchon