Opened 10 years ago
Closed 10 years ago
#6905 closed Bugs (fixed)
bcp --namespace misses a boost namespace in emplace_args.hpp
| Reported by: | Owned by: | Daniel James | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | unordered |
| Version: | Boost 1.49.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Using bcp to create a custom namespace doesn't convert:
BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE(10, boost)
Attaching a possible fix (only tried on VC++ 10 so far).
Regards
Luke Elliott.
Attachments (2)
Change History (6)
by , 10 years ago
| Attachment: | emplace_args.hpp added |
|---|
comment:1 by , 10 years ago
| Status: | new → assigned |
|---|
Can you post it as a diff please?
I had a quick look and I think you're illegally concatenating :: and tuple. A preprocessor concatenation has to create a single token but ::tuple is two tokens. Visual C++ accepts things like that, but it shouldn't really. You probably don't need a concatenation at all, could just say namespace_ tuple and that should work.
I'll look into this in more detail later.
comment:4 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Possible fix.