[Insight-developers] ITK convention between #include "" and #include <>

Gert Wollny gert at die.upm.es
Wed Jun 23 05:51:37 EDT 2010


Am Mittwoch, den 23.06.2010, 12:07 +0530 schrieb Karthik Krishnan:
> In general its, <> for system includes (STL etc) and " for the others.
One might also note, that <> only searches the include paths (system &
given ones), while "" searches in the current directory first, and then
the include paths. Therefore, for headers that can be found in the
include paths "" is a little bit slower at compile time. 

cheers.

> 
> On Wed, Jun 23, 2010 at 3:18 AM, Sean McBride
> <sean at rogue-research.com> wrote:
>         Hi all,
>         
>         Does ITK have a convention for using #include "" vs #include
>         <> ?
>         
>         For example in itkMatrix.h:
>         <http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Common/itkMatrix.h?
>         root=Insight&view=markup>
>         
>         Why does it do both:
>         
>         #include "vnl/algo/vnl_matrix_inverse.h"
>         
>         and
>         
>         #include <vnl/algo/vnl_determinant.h>
>         
>         Is this a bug or feature?
>         
>         Cheers,
>         
>         --
>         ____________________________________________________________
>         Sean McBride, B. Eng                 sean at rogue-research.com
>         Rogue Research                        www.rogue-research.com
>         Mac Software Developer              Montréal, Québec, Canada
>         
>         
>         _______________________________________________
>         Powered by www.kitware.com
>         
>         Visit other Kitware open-source projects at
>         http://www.kitware.com/opensource/opensource.html
>         
>         Kitware offers ITK Training Courses, for more information
>         visit:
>         http://kitware.com/products/protraining.html
>         
>         Please keep messages on-topic and check the ITK FAQ at:
>         http://www.itk.org/Wiki/ITK_FAQ
>         
>         Follow this link to subscribe/unsubscribe:
>         http://www.itk.org/mailman/listinfo/insight-developers
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers




More information about the Insight-developers mailing list