Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2295

Move C++ to std from boost wherever possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • c++
    • None

    Description

      Now that we have mandated C++11 as a requirement for 1.9.0 onwards, the following boost features can be moved to std:::

      • array
      • scoped_ptr (in favor of unique_ptr)
      • shared_ptr
      • static_assert
      • type_traits
      • weak_ptr
      • noncopyable (in favor of = delete for copy constructors)
      • ptr_container (in favor of container of unique_ptr)

      With that the only boost features still in use will be:

      • any
      • blank
      • format
      • iostreams
      • regex
      • program_options

      Of these any is part of C++ }}17 and hence when {{C++ }}17 is used we can use {{std:: for that too.

      Attachments

        Issue Links

          Activity

            People

              thiru_mg Thiruvalluvan M. G.
              thiru_mg Thiruvalluvan M. G.
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: