Skip to content

Commit

Permalink
c++17 add transform_inclusive_scan function
Browse files Browse the repository at this point in the history
	modified:   src/cl-stl-base.lisp
	modified:   src/cl-stl-numeric.lisp
	modified:   src/user-package.lisp
  • Loading branch information
Show MATSUOKA committed May 6, 2019
1 parent c73da8b commit 9a9dc34
Show file tree
Hide file tree
Showing 3 changed files with 485 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/cl-stl-base.lisp
Expand Up @@ -293,6 +293,10 @@
cl-stl-0x98
cl-stl-0x11
cl-stl-0x14) :exclusive_scan
#-(or
cl-stl-0x98
cl-stl-0x11
cl-stl-0x14) :transform_inclusive_scan
;+-----------------------------------------+
;| algorithm |
;+-----------------------------------------+
Expand Down Expand Up @@ -1164,6 +1168,25 @@
copy of result ( point to end of sequence ).
")

#-(or cl-stl-0x98 cl-stl-0x11 cl-stl-0x14)
(declare-method-overload transform_inclusive_scan (5 6)
:documentation "
<<signature>>
(cl-stl:inclusive_scan first last result binary-op unary-op) [0x17]
(cl-stl:inclusive_scan first last result binary-op unary-op init) [0x17]
<<parameters>>
first : input_iterator.
last : input_iterator.
result : output_iterator.
binary-op : binary functor.
unary-op : unary functor.
init : initial value
<<return value>>
copy of result ( point to end of sequence ).
")

;;------------------------------------------------------------------------------
;;
;; generic functions declaration of algorithm
Expand Down

0 comments on commit 9a9dc34

Please sign in to comment.