Boost C++ Libraries: Ticket #2820: ASIO IoControlCommand Type Requirement needs undocumented expression get() https://svn.boost.org/trac10/ticket/2820 <p> I am attempting to create a type that conforms to <a class="missing wiki">IoControlCommand</a> to pass to the io_control member function in the socket classes. </p> <p> The compilation fails due to a missing expression a.get(). It's not clear from the documentation what this expression should return. </p> <p> I've encountered this on Linux and Mac OS X and various versions of g++ 4.x </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2820 Trac 1.4.3 Kevin Arunski <kevin.arunski@…> Tue, 03 Mar 2009 03:18:38 GMT attachment set https://svn.boost.org/trac10/ticket/2820 https://svn.boost.org/trac10/ticket/2820 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">TestIoControlCommand.cpp</span> </li> </ul> <p> Test program, fails compilation with 'struct <a class="missing wiki">MyIoControl</a> has no member get' </p> Ticket chris_kohlhoff Thu, 09 Apr 2009 12:16:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2820#comment:1 https://svn.boost.org/trac10/ticket/2820#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52294" title="Fix implementation of io_control() so that it adheres to the type ...">[52294]</a>) Fix implementation of io_control() so that it adheres to the type requirements for <a class="missing wiki">IoControlCommand</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2820" title="#2820: Bugs: ASIO IoControlCommand Type Requirement needs undocumented expression get() (closed: fixed)">#2820</a>. </p> Ticket chris_kohlhoff Fri, 10 Apr 2009 23:45:01 GMT <link>https://svn.boost.org/trac10/ticket/2820#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2820#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52309" title="Merged revisions 52288-52294 via svnmerge from ...">[52309]</a>) Merged revisions 52288-52294 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52288" title="Prevent locales from affecting the formatting of endpoints. Fixes #2682. ">r52288</a> | chris_kohlhoff | 2009-04-09 21:50:42 +1000 (Thu, 09 Apr 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Prevent locales from affecting the formatting of endpoints. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2682" title="#2682: Bugs: endpoint operator &lt;&lt; is locale dependent (closed: fixed)">#2682</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52289" title="Correct documentation of read, read_at, write and write_at functions ...">r52289</a> | chris_kohlhoff | 2009-04-09 22:00:36 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Correct documentation of read, read_at, write and write_at functions to match new <a class="missing wiki">CompletionCondition</a> concept. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2871" title="#2871: Bugs: asio async_read/async_write CompletionCondition inconsistency (closed: fixed)">#2871</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52290" title="Fix some warnings that occur with MSVC at warning level 4. Fixes #2828. ">r52290</a> | chris_kohlhoff | 2009-04-09 22:03:01 +1000 (Thu, 09 Apr 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix some warnings that occur with MSVC at warning level 4. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2828" title="#2828: Bugs: win_iocp_overlapped_ptr::complete warning (closed: fixed)">#2828</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52291" title="As a performance optimisation, add an explicit check for an empty ...">r52291</a> | chris_kohlhoff | 2009-04-09 22:04:39 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> As a performance optimisation, add an explicit check for an empty vector of timer queues. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52292" title="Implement automatic resizing of the bucket array in the internal hash ...">r52292</a> | chris_kohlhoff | 2009-04-09 22:09:16 +1000 (Thu, 09 Apr 2009) | 6 lines </p> </blockquote> <p> </p> <blockquote> <p> Implement automatic resizing of the bucket array in the internal hash maps. This is to improve performance for very large numbers of asynchronous operations and also to reduce memory usage for very small numbers. A new macro BOOST_ASIO_HASH_MAP_BUCKETS may be used to tweak the sizes used for the bucket arrays. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52293" title="Prevent memory leaks when an async SSL operation's completion handler ...">r52293</a> | chris_kohlhoff | 2009-04-09 22:12:50 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Prevent memory leaks when an async SSL operation's completion handler throws. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2910" title="#2910: Bugs: asio &amp; ssl - leaking io_handler when user-provided handler throws (closed: fixed)">#2910</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52294" title="Fix implementation of io_control() so that it adheres to the type ...">r52294</a> | chris_kohlhoff | 2009-04-09 22:16:02 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix implementation of io_control() so that it adheres to the type requirements for <a class="missing wiki">IoControlCommand</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2820" title="#2820: Bugs: ASIO IoControlCommand Type Requirement needs undocumented expression get() (closed: fixed)">#2820</a>. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> </channel> </rss>