[Klone-users] Boost regex
Varg Volk
vargvolk at yahoo.com
Mon Dec 21 22:57:21 EST 2009
Method? I don't see any method at all, sir. Lol!
Thank you for your patience. I wrote a class that spits out all my HTML and temporarily forgot that any code placed outside the brackets in index.klx gets sent as text. Oops! Too little sleep. Too much caffeine.
Anyway I solved the problem by creating a class library with boost::regex functionality and linked it that way. Works like hotcakes.
Thanks again.
________________________________
From: thomas fossati <tho at koanlogic.com>
To: Klone users <klone-users at koanlogic.com>
Sent: Mon, December 21, 2009 1:18:37 AM
Subject: Re: [Klone-users] Boost regex
Hi Varg,
On Dec 21, 2009, at 12:43 AM, Varg Volk wrote:
Is my method sound
by moving the #include <boost/regex> out of the <!% ... %> scope, you just say to the klone translator to treat it as a simple block of data of no particular meaning, i.e., as far as the translation/compilation phase is concerned, that #include is ignored. Anyway the literal "#include <boost/regex>" string is put at the top of the specific .klx page and sent to the client whenever the page is requested ! Try removing it completely.
and is this message normal?
>
The message is completely ok, it just says that the kloned daemon has been soft-linked in the top level directory for your ease (you can now exec it via ./kloned [some opts]).
ciao, t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20091221/300e9491/attachment.htm
More information about the klone-users
mailing list