• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: type/value mismatch error in template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: type/value mismatch error in template


  • Subject: Re: type/value mismatch error in template
  • From: John Weeks <email@hidden>
  • Date: Thu, 13 Oct 2005 09:27:43 -0700

Thanks to those who tried my code and reported that it compiles. As I said
earlier, I should have tried the test myself.

Encouraged by the knowledge that the code was OK, I tried moving the
reduced function created by Ulrich to various locations within the list if
#includes in the file and discovered that there is a conflict with an
included file. I have not had time yet to track down what the problem is
with the included file.

This brings up two thoughts:

1) It is peculiar that Codewarrior doesn't suffer this same conflict.

2) C++ with templates encourages putting lots of actual code in .h (or
.hpp) files that are included in other source code. That seems like it
would also encourage conflicts like the one I now need to track down.

Does anyone want to offer advice on how to manage such code to minimize
this problem? I am just getting into heavy template programming, so I don't
have experience to guide me.

Regards,
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax   (503) 620-6754
email   email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: type/value mismatch error in template
      • From: Andreas Grosam <email@hidden>
  • Prev by Date: Re: Fat Jar
  • Next by Date: Re: Speeding up XCode?
  • Previous by thread: Re: type/value mismatch error in template
  • Next by thread: Re: type/value mismatch error in template
  • Index(es):
    • Date
    • Thread