[Cgi-devel] request const access
Status: Beta
Brought to you by:
drrngrvy
From: Richard F. <ri...@th...> - 2010-07-06 11:41:28
|
Hi Darren, Thanks for responding so quickly to my bug report yesterday. Today I have a const correctness problem. I have a 'request' object that has been passed by const reference and would like to query the contents of its get, session etc. 1. data_map_proxy::count(const key_type&) is not a const member function. Is there any reason for that? I tried changing it to const without any obvious problems. 2. I can use pick() to access 'get' parameters but it does not seem to work for 'session' parameters. Is there any way to access session parameters in a const context? Best regards, Richard |