[llvm-bugs] [Bug 41130] New: operator/ of std::chrono::duration and	custom type
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon Mar 18 14:28:28 PDT 2019
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=41130
            Bug ID: 41130
           Summary: operator/ of std::chrono::duration and custom type
           Product: libc++
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: llvm-bugs at zulan.net
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
Created attachment 21624
  --> https://bugs.llvm.org/attachment.cgi?id=21624&action=edit
code to reproduce
Defining an operator/ with a chrono::duration and a custom type fails to
compile with libc++.
Example code attached
Problem description initially on https://stackoverflow.com/q/55167862/620382
Suggested patch by Howard Hinnant https://stackoverflow.com/a/55203313/620382
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190318/c80c642a/attachment.html>
    
    
More information about the llvm-bugs
mailing list