Boost C++ Libraries: Ticket #7637: Karma allow integrals as type for real_generator https://svn.boost.org/trac10/ticket/7637 <p> The attached patch allows Karma <code>real_generator</code> to be instantiated with fundamental integral types, which will otherwise result in an error when calling <code>modf</code> due to its pointer argument. The remaining requirements (fmod, floor, et.al.) are satisfied by implicit conversion, though they could be specially handled as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7637 Trac 1.4.3 K-ballo <kaballo86@…> Sun, 04 Nov 2012 01:12:30 GMT attachment set https://svn.boost.org/trac10/ticket/7637 https://svn.boost.org/trac10/ticket/7637 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">karma_real_policies_int.patch</span> </li> </ul> <p> patch </p> Ticket K-ballo <kaballo86@…> Sun, 04 Nov 2012 01:13:23 GMT attachment set https://svn.boost.org/trac10/ticket/7637 https://svn.boost.org/trac10/ticket/7637 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">karma_real_generator_int_test.cpp</span> </li> </ul> <p> Minimal test </p> Ticket