• Show log

    Commit

  • Hash : 4cfc6d8e
    Author : Ben Wagner
    Date : 2023-08-31T13:54:34

    Specify tuple_variations_t special member functions
    
    Building with clang complains about the use of `tuple_variations_t`'s
    implicit copy constructor and copy assignment operator, since automatic
    generation of these is deprecated when declaring a non-default
    destructor. This is a good warning because it isn't obvious that copies
    were being made instead of the object being moved and this struct should
    be moved and not copied. Declare all the special member functions,
    defaulting the moves and deleting the copies.
    
    After making `tuple_variations_t` move only, an issue is revealed in
    `hb_vector_t::push` which has been requiring that objects be copyable.
    Remove the old non-emplacing `push` now that this works with all
    existing objects and make a single `push` which is more like
    `std::vector::emplace_back` since that is somewhat what the newer `push`
    is attempting to do.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/harfbuzz.git
    Git SSH git@git.kmx.io:kc3-lang/harfbuzz.git
    Public access ? public
    Description

    HarfBuzz text shaping engine

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags