Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
G
googletest
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • googletest
  • Repository

Switch branch/tag
  • googletest
  • googlemock
  • include
  • gmock
  • gmock-generated-actions.h.pump
Find file
BlameHistoryPermalink
  • Abseil Team's avatar
    Googletest export · fbef0711
    Abseil Team authored Nov 06, 2020
    Change ACTION{,_Pn,_TEMPLATE} macros to build functors rather than ActionInterface<> subclasses, thus changing the Action<> wrappers they create to use the modernized (non-const) argument tuple type, allowing these macros to mutate their arguments.
    
    Functor-based Action<>s deep-copy the implementing object, so have the functors use a shared_ptr to the non-trivial state of bound value parameters.  No longer specialize that shared state to the particular action signature, encoding that information instead only in the instantiation of the implementation function.
    
    PiperOrigin-RevId: 341116208
    fbef0711
gmock-generated-actions.h.pump 15.2 KB
EditWeb IDE
×

Replace gmock-generated-actions.h.pump

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.