Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] defining operator< for CGAL handles

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] defining operator< for CGAL handles


Chronological Thread 
  • From: "Ophir Setter" <>
  • To:
  • Subject: Re: [cgal-discuss] defining operator< for CGAL handles
  • Date: Fri, 9 Nov 2007 12:01:33 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=gd4nStmmIjT1unB1ODwOLyqapzQeLFv8S5ijKFLflpq3tgoJxP1wn3zS1y+tqXAc+Xhrmv0MjW/es+8fjSypKx3fZiqZPdzwwdlRs8DUYSUqREsawS8vjJoZDKE03mVgmPA1yHcbwvuRwJt48tATzgBMK0ePEpZtrjE0eOlqhLA=

It took me quite a bit of searching and experimenting, before I found this
solution. Apparently, types defined in a certain namespace, need to have
their operator in the same namespace.

 
It is called Koenig lookup: http://en.wikipedia.org/wiki/Argument_dependent_name_lookup


Ophir


Archive powered by MHonArc 2.6.16.

Top of Page