POV-Ray : Newsgroups : povray.off-topic : Smart little programming tricks, where to find ? : Re: Smart little programming tricks, where to find ? Server Time
11 Oct 2024 01:24:08 EDT (-0400)
  Re: Smart little programming tricks, where to find ?  
From: Warp
Date: 20 Mar 2008 03:41:51
Message: <47e2234f@news.povray.org>
Vincent Le Chevalier <gal### [at] libertyallsurfspamfr> wrote:
> Replacing
>      std::map<A, int, Comp> theMap(Comp());
> with
>      Comp c; std::map<A, int, Comp> theMap(c);

  That's not the shortest possible solution.

> A trouble with references or some such ? That prevents the full 
> instanciation of the map template ?

  No.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.