Linux Today: Linux News On Internet Time.

More on LinuxToday

C++0x Forward Enum Declarations Cut Down Compilation Time and Dependencies

Aug 13, 2009, 19:32 (0 Talkback[s])
(Other stories by Danny Kalev)


Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js

"The problem: Your project has an enum type containing hundreds of machine-generated enumerators that change frequently. You must provide a complete definition of that enum in every translation unit, even if the compiler seemingly doesn't need the complete definition of the enum.

The solution: Replace complete definitions of enum types with forward enum declarations where possible."

Complete Story

Related Stories: