Uploaded image for project: 'FireBreath Core'
  1. FireBreath Core
  2. FIREBREATH-14

Embedding a variant_map_of(...) into a FB::VariantList requires a cast to FB::VariantMap to compile

    XMLWordPrintable

    Details

    • Operating System:
      Windows
    • Web Browser:
      Firefox 4.x

      Description

      Compiling:

      FireEvent("onevent", FB::variant_list_of("foo")(FB::variant_map_of("foo, "bar")("key", "value")));

      Gives:

      d:\firebreath-1.4.2\src\scriptingcore\variant.h(850) : error C2665: 'FB::variant_detail::conversion::make_variant' : none of the 4 overloads could convert all the argument types

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                richard Richard Bateman
                Reporter:
                ed sayers Ed Sayers
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: