Re: too few template-parameter-lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Many thanks once again. I have now compiled my code ok. There were basically four changes I had to make:

(1) to do with typename in a template
(2) the problem that you last emailed me about (use of a template)
3) changing the toupper in "std::transform(lang.begin(), lang.end(), lang.begin(), toupper);" to (int(*)(int))toupper);

(I'm not quite sure why because I don't include <cctype> and I believe there is only one toupper() in the code)

4) I had to change:

if (thisCgi.compare(prefix, 0, prefixLength) == 0) to
if (thisCgi.compare(0, prefixLength, prefix) == 0)

I think it's all working ok.

Mike

Many thanks

Eljay Love-Jensen wrote:

Hi Michael,

Try this...

template<>
commandTags<FmPage> mapTags<FmPage>::mustags[] = {
{ "page.include",        &FmPage::includeFile },
{ "page.version",        &FmPage::printVersion },
{ "page.script_name",    &FmPage::printScriptname },
{ "page.gif_dir",        &FmPage::printGifdir },

 ........
 ........
}

HTH,
--Eljay


--
___________________________________________________ Michael Gatford
Senior Technical Consultant
___________________________________________________ APR Smartlogik Limited.
Rustat House - Clifton Road - Cambridge - CB1 7EJ
phone +44 (0)1223 27 1025
fax   +44 (0)1223 27 1010
map: http://www.aprsmartlogik.com/contact/CambridgeMap.pdf

mailto:michael.gatford@xxxxxxxxxxxxxxxxx http://www.aprsmartlogik.com/
***********************************************************************
This e-mail may contain proprietary and confidential information and is intended for the recipient(s) only. If an addressing or transmission error has misdirected this e-mail, please notify the systems administrator by forwarding this e-mail to mailto:postmaster@xxxxxxxxxxxxxxxxxx If you are not the intended recipient(s) disclosure, distribution, copying or printing of this e-mail is strictly prohibited.
***********************************************************************


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux