Opened 10 years ago
#7637 new Patches
Karma allow integrals as type for real_generator
| Reported by: | Owned by: | Joel de Guzman | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | spirit | 
| Version: | Boost 1.52.0 | Severity: | Not Applicable | 
| Keywords: | Cc: | 
Description
The attached patch allows Karma real_generator to be instantiated with fundamental integral types, which will otherwise result in an error when calling modf 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.
Attachments (2)
  Note:
 See   TracTickets
 for help on using tickets.
    

patch