threads::shared should have provided autovivification built-in. Why make every user try to do it on his/her own?Because shared structures are very expensive in terms of memory and execution time. Making it easy to have complex shared structures encourages bad habits.
Dave.
In reply to Re: "Auto" vivifying shared data structures
by dave_the_m
in thread "Auto" vivifying shared data structures
by Dr. Mu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |