Re: [Olena-patches] [Olena] #43: Fix the initialization of all global constants.

#43: Fix the initialization of all global constants. ------------------------+--------------------------------------------------- Reporter: garrigues | Owner: Olena Team Type: defect | Status: reopened Priority: major | Milestone: Olena 1.1 Component: Milena | Version: 1.0 Resolution: | Keywords: ------------------------+--------------------------------------------------- Description changed by levill_r: Old description:
* Use extern const ref, not static (really?) * Move implementation into another file (e.g., `foo.hcc`) * Provide a `globals.hcc` including all `.hcc` files (convenience shortcut). * Tell users (a entry in the FAQ would be useful) to include each needed `.hcc` file '''once''' per program.
New description: * Use extern const ref, not static (really?) * Move implementation into another file (e.g., `foo.hcc`) * Provide a `globals.hcc` including all `.hcc` files (convenience shortcut). * Tell users (a entry in the FAQ would be useful) to include each needed `.hcc` file '''once''' per program. Don't forget to grep the uses of macro `MLN_WO_GLOBAL_VARS` in the code. -- -- Ticket URL: <https://trac.lrde.org/olena/ticket/43#comment:6> Olena <http://olena.lrde.epita.fr> Olena, a generic and efficient C++ image processing library.
participants (1)
-
Olena Trac